Spot martingale creation parameters (serialized fields aligned with MartingaleBot). - Stop-loss: use stop_loss_per_cycle (ratio per round), same as the app; do not use stop_loss_price. - Optional trigger_price: trigger price. - If stop_loss_per_cycle is passed and > 0, the server validates roughly between 0.001 and 0.9999 (same as check_martingale).
| Name | Type | Description | Notes |
|---|---|---|---|
| invest_amount | str | ||
| price_deviation | str | Add-position deviation ratio as a decimal string (e.g. a 2% drop is `0.02`). | |
| max_orders | int | ||
| take_profit_ratio | str | Take-profit ratio per round as a decimal string. | |
| stop_loss_per_cycle | str | Stop-loss ratio per round as a decimal string; optional; aligned with app `stop_loss_per_cycle`. | [optional] |
| trigger_price | str | Trigger price; optional. | [optional] |
| profit_sharing_ratio | str | [optional] |