curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "chart",
"params": {
"symbol": "1",
"chart_type": "mark",
"resolution": "1",
"from": 1658716757,
"to": 1758716766000
}
}'
[
{
"close": 70816,
"high": 70967,
"low": 70816,
"open": 70967,
"time": 1770668100000,
"volume": 0.21369
},
{
"close": 70664,
"high": 70816,
"low": 70639,
"open": 70816,
"time": 1770668160000,
"volume": 0.08373
}
]Global
chart
Send POST request to /info with method: “chart”
POST
/
info
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "chart",
"params": {
"symbol": "1",
"chart_type": "mark",
"resolution": "1",
"from": 1658716757,
"to": 1758716766000
}
}'
[
{
"close": 70816,
"high": 70967,
"low": 70816,
"open": 70967,
"time": 1770668100000,
"volume": 0.21369
},
{
"close": 70664,
"high": 70816,
"low": 70639,
"open": 70816,
"time": 1770668160000,
"volume": 0.08373
}
]Retrieve OHLCV chart data for technical analysis and charting.
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "chart",
"params": {
"symbol": "1",
"chart_type": "mark",
"resolution": "1",
"from": 1658716757,
"to": 1758716766000
}
}'
Chart Types
| Type | Description |
|---|---|
mark | Mark price data |
index | Index price data |
ltp | Last traded price data |
Resolutions
| Resolution | Interval |
|---|---|
1 | 1 minute |
5 | 5 minutes |
15 | 15 minutes |
30 | 30 minutes |
60 | 1 hour |
240 | 4 hours |
1D | 1 day |
1W | 1 week |
⌘I