curl --request POST \
--url https://alphainsider.com/api/newBot \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"broker": "bitfinex",
"broker_keys": {
"live": true,
"bitfinex_key": "<string>",
"bitfinex_secret": "<string>",
"binance_key": "<string>",
"binance_secret": "<string>",
"alpaca_key": "<string>",
"alpaca_secret": "<string>"
}
}
'{
"success": true,
"response": {
"bot_id": "h_zZfeqsX9o8hgB8DVc0P",
"user_id": "user_1",
"leverage": "2.000000000000000",
"slippage": "0.005000000000000",
"rebalance_on_start": true,
"close_on_stop": true,
"broker": "alpaca",
"type": "stock",
"live": false,
"account_id": "PA3815FAJZJV",
"status": "off",
"notifications": [],
"updated_at": "2024-10-23T14:36:02.484Z",
"created_at": "2024-10-23T14:36:02.484Z"
}
}Create new bot.
curl --request POST \
--url https://alphainsider.com/api/newBot \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"broker": "bitfinex",
"broker_keys": {
"live": true,
"bitfinex_key": "<string>",
"bitfinex_secret": "<string>",
"binance_key": "<string>",
"binance_secret": "<string>",
"alpaca_key": "<string>",
"alpaca_secret": "<string>"
}
}
'{
"success": true,
"response": {
"bot_id": "h_zZfeqsX9o8hgB8DVc0P",
"user_id": "user_1",
"leverage": "2.000000000000000",
"slippage": "0.005000000000000",
"rebalance_on_start": true,
"close_on_stop": true,
"broker": "alpaca",
"type": "stock",
"live": false,
"account_id": "PA3815FAJZJV",
"status": "off",
"notifications": [],
"updated_at": "2024-10-23T14:36:02.484Z",
"created_at": "2024-10-23T14:36:02.484Z"
}
}User API token.
Bot broker.
bitfinex, binance, alpaca Broker keys.
Show child attributes
Live or paper account.
Bitfinex key.
Bitfinex secret.
Binance key.
Binance secret.
Alpaca key.
Alpaca secret.
Request was successful.