Calculators
Position size
Risk-based position size from account balance, risk %, entry and stop.
get/api/v1/calc/position-size
Request
- Base URL: https://marginpad.io
- URL: https://marginpad.io/api/v1/calc/position-size
- Auth: none declared
Query parameters
balancestring required
Account balance.
riskstring required
Risk percent of balance, e.g. 1.
entrystring required
Entry price.
stopstring required
Stop-loss price.
leveragestring
Optional leverage for margin required.
Response
ok
Changes
No recorded changes to this operation across all 1 revision of this API.