Skip to content
All library documents

Random Futures Trading with Martingale Position Reversals

Article Strategy library · Author: FawkesPan

Summary

This futures strategy begins with a randomly selected long or short position. It sets percentage-based profit and loss thresholds, closes a position when either threshold is reached, and opens a position in the opposite direction after a loss. The reversal position is multiplied by a configurable factor, subject to a maximum position limit. The code also applies leverage, cancels outstanding orders each update, and records counts of wins, losses, and position activity.

The document provides implementation details and parameters, but no performance results or backtest evidence. Its prominent warning says the approach can lose all capital. Increasing exposure after losses can compound risk, while the position cap can halt further reversals before recovery. Random initial direction, leverage, trading costs, and execution conditions add uncertainty; the supplied code does not establish that the strategy has an edge.

Key ideas

  • The strategy chooses its initial futures direction randomly.
  • It closes positions at preset profit or loss thresholds.
  • After a loss, it reverses direction and multiplies the position size.
  • A maximum position limit constrains further increases in exposure.
  • The document provides no performance evidence and warns of total capital loss.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.