cURL
curl --request GET \ --url https://alphainsider.com/api/getMaxOrderSize \ --header 'Authorization: <authorization>'
{ "strategy_id": "MGfroYBdziuVhQOAce3wB", "stock_id": "v3lhjrwEhNuAOxPT29oxO", "remaining_assets_amount": "0", "remaining_liabilities_amount": "0", "buying_power_total": "1.552444817292084", "selling_power_total": "1.552444817292084", "slippage": "0.000926141922545", "fee": "0.002500000000000" }
Get max order size.Be sure to leave room for slippage and fee when calculating max buying/selling power.
User API token.
Strategy ID.
Stock ID. "stock:exchange" or "stock_id"
"stock:exchange"
"stock_id"
Request was successful.