Object

When Horizon returns information about a trade aggregation, it uses the following format:

- ATTRIBUTE -

  • timestamp string

    Start time for this trade aggregation. Represented as milliseconds since epoch.

  • trade_count integer

    Total number of trades aggregated.

  • base_volume string

    Total volume of base asset.

  • counter_volume string

    Total volume of counter asset.

  • avg string

    Weighted average price of counter asset in terms of base asset.

  • high string

    The highest price for this time period.

  • high_r object

    The highest price for this time period as a rational number.Hide child attributes

    • n number

      The numerator.

    • d number

      The denominator.

  • low string

    The lowest price for this time period.

  • low_robject

    The lowest price for this time period as a rational number.Hide child attributes

    • n number

      The numerator.

    • p number

      The denominator.

  • open string

    The price as seen on first trade aggregated.

  • open_r object

    The price as seen on first trade aggregated as a rational number. Hide child attributes

    • n number

      The numerator.

    • p number

      The denominator.

  • close string

    The price as seen on last trade aggregated.

  • close_r object

    The price as seen on last trade aggregated as a rational number. Hide child attributes

    • n number

      The numerator.

    • p number

      The denominator.

Last updated

Was this helpful?