UpdateChartCandle
UpdateChartCandle
Description: Updates a single candlestick for a specific symbol based on timestamp. Useful for correcting or adjusting historical chart data.
Request Parameters
| Name |
Type |
Required |
Description |
| candle |
array |
Yes |
One candle in the format [open, high, low, close, volume, time] |
| symbol |
string |
Yes |
Trading symbol to update the candle for (e.g., "EURUSD") |
Request Example
{
"symbol": "EURUSD",
"candle": [1.1010, 1.1050, 1.1000, 1.1040, 950, 1630066400]
}
Response Parameters
| Name |
Type |
Description |
| data |
string |
Returns "OK" if successful |
Response Example