Mizar
Search…
DCA Bot - TradingView
TradingView webhook commands

Open position

{
"bot_id": "1",
"action": "open-position",
"base_asset": "BTC",
"quote_asset": "USDT",
"api_key": "<API KEY>"
}

Close position

{
"bot_id": "1",
"action": "close-position",
"base_asset": "BTC",
"quote_asset": "USDT",
"api_key": "<API KEY>"
}

Close all positions

{
"bot_id": "1",
"action": "close-all-positions",
"api_key": "<API KEY>"
}

Stop bot and close all positions

{
"bot_id": "1",
"action": "stop-bot-and-close-all-positions",
"api_key": "<API KEY>"
}
Copy link
Outline
Open position
Close position
Close all positions
Stop bot and close all positions