cURL
curl --request POST \ --url https://alphainsider.com/api/updateStrategyCalculation \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "strategy_id": "<string>", "input_value": 123, "input_date": "2023-11-07T05:31:56Z" } '
{ "success": true, "response": { "strategy_id": "WuRnay0CF3P1oPRSdogj5", "strategy_owner": "user_1", "type": "cryptocurrency", "private": false, "strategy_value": "1.262810315036981", "invoice_id": null, "end_date": null, "subscription_id": "AHjZ3_-QwEyO--eLt-P6r", "user_id": "user_2", "product_id": "1bRPI9xQHhE23KpAXViKW", "input_value": "1000.000000000000000", "input_date": "2024-10-22T20:00:00.000Z", "input_multiplier": "791.884567375200223", "notifications": [], "renew": true, "status": "active", "updated_at": "2024-10-22T20:50:54.838Z", "created_at": "2024-09-18T13:33:59.750Z" } }
Update relative strategy calculations.
User API token.
Strategy ID.
Relative starting balance.
Input value starting date.
Request was successful.