The Foundations
Pips, lots, leverage, and the one rule that keeps traders alive — every idea drawn, and every idea wired to how your own bot makes decisions. Amber terms are tappable.
1.1What you're actually buying
When you trade , you're not buying a thing — you're backing an opinion: "the euro will strengthen against the US dollar."
Every trade has two sides. BUY (go ) profits if the price rises. SELL (go ) profits if it falls. In FX you can profit in both directions — falling prices aren't "bad", they're just a different trade.
The Direction line on every IronGate recommendation card (BUY or SELL) is exactly this choice, and the "why this pair" paragraph is the evidence for it.
1.2The pip — how price moves are measured
A is the standard unit of price movement. Find it by counting to the 4th decimal place:
A quiet hour drifts 3–8 pips · a normal day ranges 60–100 pips · a big news event can jump 50+ pips in minutes.
1.3The lot — how size is measured
A is the unit of trade size: 1 lot = 100,000 units of the base currency. What matters day-to-day is what each size makes a pip worth — the :
1.4Leverage — the loaded word
lets you control a big position with a small deposit (). Here's what 30:1 actually looks like:
A trader risking 1% per trade at 30:1 leverage is in exactly as much danger as one risking 1% at 5:1. The blown accounts you hear about come from oversized positions, not from leverage itself.
Risk a fixed, small percentage of your balance on every trade — 1% or less while learning. Ten straight losses at 1% ≈ −9.6%: annoying, survivable. At 10% per trade, the same streak destroys 65% of your account. Survival is the strategy.
1.5One trade, fully drawn
A closes your trade automatically at a fixed loss; a closes it at a fixed gain. Both are decided before you enter. Here's an entire BUY trade in one picture:
1.6How your bot sizes every trade
Now the payoff. This is the actual logic from python/risk/position_sizer.py — the code that decides the lot size of every trade IronGate recommends:
In plain English: "I'm willing to lose $100. My stop is 20 pips away. What size makes a 20-pip loss equal exactly $100?" The size is the output of the risk decision — never the starting point. That single inversion separates systematic traders from gamblers.
⚙ Try it — your bot's exact formula, live
Play with it. Notice: a tighter stop allows a bigger position for the same risk; a wider stop forces a smaller one. Your dollar risk never moves — that's the whole point.
1.7See it on your own screen
Next time you're at your PC, two things to find — here's exactly where to look:
And the one number that throttles everything you learned in this lesson lives in python/config/risk_params.yaml: