This API allows you to send trading signals to the TradingView platform.
type_of_signal
(string, required): Type of trading signal. Valid values:open
,close
,add
.connector_secret
(string, required): Secret token for request validation.pair
(string, required): Trading pair, e.g.,ICP-USDT-SWAP
.amount
(float, required foropen
andadd
signals): Quote amount for the trading position.position
(string | number, optional): An optional parameter to specify the position.
Send a new trading signal to open new position.
-
Request:
- Method:
POST
- URL:
/api/v1/signal
- Method:
-
Request Body (JSON):
{ "type_of_signal": "open", "connector_secret": "abc123", "pair": "ICP-USDT-SWAP", "amount": 1000 }
-
Response (204 No Content):
Send a signal to adjust an existing position.
-
Request:
- Method:
POST
- URL:
/api/v1/signal
- Method:
-
Request Body (JSON):
{ "type_of_signal": "add", "connector_secret": "abc123", "pair": "ICP-USDT-SWAP", "amount": 500 }
-
Response (204 No Content):
Send a signal to close an existing position.
-
Request:
- Method:
POST
- URL:
/api/v1/signal
- Method:
-
Request Body (JSON):
{ "type_of_signal": "close", "connector_secret": "abc123", "pair": "ICP-USDT-SWAP" }
-
Response (204 No Content):
- Fix the bug:
corrupted size vs. prev_size while consolidating
- Vitaliy Klychkov - Project Creator
- Mykola Symon - Docker Configuration Specialist