Skip to content

DeleteChartCandlePeriod

Description:
Deletes stored candles for the specified symbol inside the requested time range.

Use this method when a whole corrupted interval needs to be removed before reimport or resync.


Access Control

🛡️ Access Level Required: SESSION_ADMIN, SESSION_MANAGER, SESSION_DEALER

Requires set_accounts. Manager permissions are loaded from the cached staff manager record.


Parameters

Name Type Required Description
symbol string ✅ Target symbol
from int64 ✅ Range start as Unix timestamp in seconds
to int64 ✅ Range end as Unix timestamp in seconds

Example Request

{
  "symbol": "EURUSD",
  "from": 1712448000,
  "to": 1712534400
}

Response

Field Type Description
data string Returns "OK" on success

Example Successful Response

{
  "data": "OK"
}

Errors

Code Description
400 Invalid request payload
500 Period delete failed