Skip to content
All library documents

Equity-Based Position Sizing with Automated Futures Brackets

Article Strategy library · Author: ianzeng123

Summary

This workflow describes a process for sizing USDT-margined perpetual futures positions from available account balance and a configurable equity fraction. It reads market contract value and quantity precision, converts the chosen risk amount into contract units, and checks minimum and maximum order sizes. After an entry order fills, the workflow uses its average fill price to calculate percentage-based stop-loss and take-profit trigger prices, then submits both conditional orders. A three-state process is intended to manage entry, monitor the open position, and reset after one bracket order fills, canceling the other.

The material is an implementation example, not evidence of a trading edge: it gives no entry signal methodology or performance results. The included workflow text is partially elided, and some described behavior cannot be confirmed from the excerpt. Its sizing calculation equates the configured balance fraction with position notional, which does not by itself ensure that fraction is the maximum loss at the stop; leverage, fees, slippage, and contract rules can change realized risk. Users would also need to verify order fill handling, conditional-order cancellation, and restart recovery for their exchange and account settings.

Key ideas

  • Available balance and a configured fraction are converted into contract quantity using market specifications.
  • After an entry fills, stop-loss and take-profit triggers are calculated as percentages of average entry price.
  • The workflow uses unfinished, monitor, and finished states to coordinate order management.
  • The document does not specify an entry signal or provide strategy performance evidence.
  • A balance fraction used for notional sizing is not necessarily the amount at risk if the stop is hit.

Tags

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