{"slug":"saylorinnovations-com-api-trading-position-size-be56b8","title":"Position size from account equity, risk percent, entry and stop","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/trading/position-size","category":"market","description":"Position size from account equity, risk percent, entry and stop: units, notional, leverage needed and target prices at chosen R multiples.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1101,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"account_usd":"10000","entry_price":"65000","risk_percent":"1","stop_price":"63000"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"account_usd":{"description":"account equity","type":"string"},"entry_price":{"description":"planned entry","type":"string"},"risk_percent":{"description":"percent of the account to risk, e.g. 1","type":"string"},"stop_price":{"description":"stop loss price (below entry = long, above = short)","type":"string"}},"required":["account_usd","risk_percent","entry_price","stop_price"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"account_usd":{"description":"Account equity used","type":"number"},"entry_price":{"description":"Planned entry price","type":"number"},"leverage_needed":{"description":"Notional divided by account equity","type":"number"},"margin_for_10x_usd":{"description":"Margin needed if the position is opened at 10x","type":"number"},"note":{"description":"Plain-language caveat about how to read and use the result","type":"string"},"position_notional_usd":{"description":"Notional value of the position in USD","type":"number"},"position_size_units":{"description":"Units to buy or sell so the stop loses the risk amount","type":"number"},"risk_percent":{"description":"Percent of the account risked","type":"number"},"risk_usd":{"description":"Amount lost if the stop is hit","type":"number"},"side":{"description":"Trade direction inferred from the stop (below entry is long)","type":"string"},"source":{"description":"Where the data or formula comes from","type":"string"},"stop_distance_percent":{"description":"Distance from entry to stop, in percent","type":"number"},"stop_price":{"description":"Stop loss price","type":"number"},"targets":{"description":"Take-profit prices at the requested R multiples","items":{"properties":{"price":{"description":"Target price","type":["number","null"]},"profit_usd":{"description":"Profit in USD if the target is reached","type":["number","null"]},"r_multiple":{"description":"Multiple of the initial risk","type":["number","null"]}},"type":"object"},"type":"array"}},"required":["position_size_units","position_notional_usd"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1101,"error":null}],"description_full":"Position size from account equity, risk percent, entry and stop: units, notional, leverage needed and target prices at chosen R multiples.","last_updated":"2026-10-20T14:52:23.95Z","schemes":["exact"]}