< API Reference
GET
/time-and-sales/volumes-by-trade-conditions?min_time={min_time}&max_time={max_time}&date={date}&symbol={symbol}

ANY OF

STOCKS
OPTIONS
CFE FUTURES
Get volumes by trade conditions

Example URI

Live

https://api.livevol.com/v1/live/time-and-sales/volumes-by-trade-conditions?min_time=09:30:00.001&max_time=10:00:00.001&date=2019-01-18&symbol=AAPL

Delayed

https://api.livevol.com/v1/delayed/time-and-sales/volumes-by-trade-conditions?min_time=09:30:00.001&max_time=10:00:00.001&date=2019-01-18&symbol=AAPL

Request Information

URI Parameters

NameDescriptionTypeAdditional information
min_time

First millisecond after midnight which will be included in the results (i.e. "09:30:00.001") (Eastern Standard Time)

time interval

Required

Constraint: value should be less than or equal to max_time value

Range: inclusive between 00:00:00.000 and 23:59:59.999

max_time

Last millisecond after midnight which will be included in the results (i.e. "10:00:00.001") (Eastern Standard Time)

time interval

Required

Constraint: value should be greater than or equal to min_time value

Range: inclusive between 00:00:00.000 and 23:59:59.999

date

Trading date

string

Required

Date in yyyy-MM-dd format. (i.e. 2019-01-18)

symbol

Stock symbol or OSI-formatted option symbol

string

Required

Response Information

Resource Description

Collection of VolumeByTradeCondition

NameDescriptionTypeAdditional information
condition_id

Condition id

byte

None.

volume

Volume

integer

None.

trades_count

Trades count

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "condition_id": 5,
    "volume": 100,
    "trades_count": 100
  },
  {
    "condition_id": 6,
    "volume": 2000,
    "trades_count": 2000
  }
]

application/xml, text/xml

Sample:
<volumes_by_trade_conditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <volume_by_trade_condition>
    <condition_id>5</condition_id>
    <trades_count>100</trades_count>
    <volume>100</volume>
  </volume_by_trade_condition>
  <volume_by_trade_condition>
    <condition_id>6</condition_id>
    <trades_count>2000</trades_count>
    <volume>2000</volume>
  </volume_by_trade_condition>
</volumes_by_trade_conditions>