Skip to content

Update candle data

UpdateChartCandle

Description:
Updates one candle for the specified symbol. The candle timestamp identifies the target record.

Input timestamps may be provided in seconds or milliseconds. The server normalizes them before the update.


Access Control

🛡️ Access Level Required: SESSION_ADMIN, SESSION_MANAGER, SESSION_DEALER


Parameters

Name Type Required Description
symbol string âś… Target symbol
candle array âś… One candle in [open, high, low, close, volume, time] format

Example Request

{
  "symbol": "EURUSD",
  "candle": [1.1010, 1.1050, 1.1000, 1.1040, 950, 1712451600]
}

Response

Field Type Description
data string Returns "OK" on success

Example Successful Response

{
  "data": "OK"
}

Errors

Code Description
400 Invalid request payload
500 Candle update failed