A Balanced Crypto Maker Strategy with Paired Limit Orders
Summary
This educational example describes a dynamic balancing strategy for a crypto account, aiming to keep the value held in the coin and the quote currency equal. It calculates paired buy and sell limit orders from account balances and a configurable distance. After detecting that one side has filled, it cancels remaining orders, clears the plan, and prepares a new pair. Profit is tracked on a coin-denominated basis using the current ticker price.
The article also demonstrates strategy organization: initialization and recovery of account state, order cancellation, pause and resume controls, persistent data, and status display. It includes backtest screenshots but provides no numerical performance results in the text. Suggested extensions include simulated orders when exchange price limits prevent immediate placement, futures support, and handling multiple assets or venues. The example is explicitly for teaching and carries no evidence that the simple balancing logic is profitable or safe in live trading.
Key ideas
- The strategy targets equal value in the crypto asset and quote currency.
- It posts buy and sell limit orders at prices derived from account balances and a distance parameter.
- A detected fill triggers cancellation of other orders and a reset of the order plan.
- The example demonstrates state recovery, profit tracking, interaction controls, and status reporting.
- Backtest screenshots are provided without numerical performance details, and the strategy is presented as educational.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.