Define the scalping rule before asking AI to code it
A usable specification states what starts a trade, what closes it, which session is allowed, and how risk is constrained. A vague request for a profitable scalper gives the model no testable contract.
- Name the market, timeframe, and allowed session.
- Write entry and exit conditions as observable events.
- State how commission, spread, and slippage should be modeled.
- Keep position sizing and loss limits separate from signal logic.