type
Either Quote or Candle
Quote
Candle
Account code, required
format
Always COMPACT
COMPACT
String, optional
candleType
Type of the candle, only for candle queries
fromTime
Required for Candle type. UTC time to get history from.
Timestamp, optional
toTime
Required for Candle type. UTC time to get history till.
count
Maximum count of candles in response. If not defined, used value predefined on server side.
Number, optional
Possible values:
m (1 min)
m
5m (5 min)
5m
15m (15 minutes)
15m
30m (30 minutes)
30m
h (1 hour)
h
2h (2 hours)
2h
4h (4 hours)
4h
d (Day)
d
w (Week)
w
mo (Month)
mo
If the number of candles in the [fromTime, toTime] period is more than the count value, exactly the count candles will be returned in response. Older candles will be filtered.
Last updated 1 year ago