Order Book Repricing for FMEX Perpetual Trading Rewards
Summary
This FMEX perpetual futures bot repeatedly calculates bid and ask prices from order book depth, places orders of a configured size on both sides, and cancels and replaces them when its calculated prices change. It periodically cancels all open orders to clear stale orders. The code also checks the exchange type, reads account and position data, and reports balances, position details, order information, and estimated trading-reward efficiency. Parameters include order size, polling interval, fee assumptions, and reward-related settings.
The document provides implementation details but no backtest, live results, or evidence that the reward estimates translate into profit. Its operation depends on exchange-specific data and behavior. Fees, slippage, fills, changing reward rules, and exposure from unbalanced executions can all affect outcomes; the source itself notes that closing a position with a marketable order incurs fees, while passive closing may prolong risk. Treat reward and efficiency calculations as estimates rather than validated returns.
Key ideas
- The bot reprices buy and sell orders from order book depth and replaces orders when its target prices change.
- It periodically cancels outstanding orders and tracks account, position, and reward-related estimates.
- The implementation is restricted to FMEX perpetual futures and relies on exchange-specific account and market data.
- The document provides no performance results, and actual profitability depends on fills, fees, slippage, and reward rules.
- Position closing choices trade off execution fees against continued exposure.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.