curl --request POST \
--url https://alphainsider.com/api/newStrategy \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "stock",
"name": "<string>",
"input_value": 123,
"private": true,
"description": "<string>",
"price": 123
}
'{
"success": true,
"response": {
"strategy_id": "WuRnay0CF3P1oPRSdogj5",
"product_id": "1bRPI9xQHhE23KpAXViKW",
"user_id": "user_1",
"type": "stock",
"private": false,
"name": "Test strategy",
"description": "",
"updated_at": "2024-10-22T20:44:42.391Z",
"created_at": "2024-10-22T20:44:42.391Z",
"price": 0,
"subscriber_count": "0",
"timeframes": [
{
"timeframe": "day",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "week",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "month",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "year",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "five_year",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
}
]
}
}Create new strategy.
curl --request POST \
--url https://alphainsider.com/api/newStrategy \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "stock",
"name": "<string>",
"input_value": 123,
"private": true,
"description": "<string>",
"price": 123
}
'{
"success": true,
"response": {
"strategy_id": "WuRnay0CF3P1oPRSdogj5",
"product_id": "1bRPI9xQHhE23KpAXViKW",
"user_id": "user_1",
"type": "stock",
"private": false,
"name": "Test strategy",
"description": "",
"updated_at": "2024-10-22T20:44:42.391Z",
"created_at": "2024-10-22T20:44:42.391Z",
"price": 0,
"subscriber_count": "0",
"timeframes": [
{
"timeframe": "day",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "week",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "month",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "year",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
},
{
"timeframe": "five_year",
"rank_performance": null,
"rank_popular": null,
"rank_trending": null,
"rank_top": null,
"max_drawdown": "0.000000000000000",
"past_value": "1.000000000000000"
}
]
}
}User API token.
Strategy security type.
stock, cryptocurrency Strategy name.
Relative starting balance.
Whether strategy is public or private.
Strategy description.
Monthly subscription price.
Request was successful.