Skip to content

Delete candle data

DeleteChartCandle

Description:
Deletes a single candle for the specified symbol.

This method expects the candle array in the current server order:

[open, high, low, close, time, volume]

This order is different from the import and update methods and should be preserved exactly for this command.


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, time, volume] format

Example Request

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

Response

Field Type Description
data string Returns "OK" on success

Example Successful Response

{
  "data": "OK"
}

Errors

Code Description
400 Invalid request payload
500 Candle delete failed