Risk Ratio Mode on Freya Finance: Fixed-Risk Position Sizing Explained
Most traders size positions backwards. They decide how much to buy — "$500 of BTC per trade" — and accept whatever loss their stop-loss happens to imply. The result: some trades quietly risk five times more than others, even though every position "looks" the same size.
Risk Ratio mode on Freya Finance inverts that. You decide how much you're willing to lose on a trade — say, 20 USDT — and the position size is calculated automatically from the distance between your entry price and your stop-loss. Tight stop, bigger position; wide stop, smaller position. Either way, a stop-out costs roughly the same fixed amount every time.
This guide covers the fixed-risk sizing idea, the math behind it, how Risk Ratio mode implements it for Freya signal bots, when to prefer it over Custom Signal mode, and how it interacts with leverage on futures.
Key Takeaways
- Fixed-risk sizing means you choose the loss you can accept per trade; the position size is derived from it: quantity = risk amount ÷ (entry price − stop-loss price).
- In Risk Ratio mode, your signal bot gets a single webhook URL; the payload carries the take-profit and stop-loss prices, entry is taken at market, and Freya sizes the position automatically.
- You set a fixed risk amount in the quote currency (e.g., 20 USDT), anchored to either the stop-loss (fixed loss) or the take-profit (fixed profit target).
- The take-profit is a limit order at the exact webhook price; the stop-loss always executes as a market order — a reliable fill, but it can slip in fast markets.
- Leverage on futures changes the margin a position needs, not the amount you risk. Very tight stops produce very large computed positions, so respect the math.
The dollar amounts and percentages in this guide are worked examples, not recommendations. Crypto trading can lose money — size every bot with funds you can afford to lose, and read the full Risk Disclosure before going live.
Why Fixed-Amount Sizing Quietly Distorts Your Risk
Say you trade a fixed $500 per signal. Two alerts arrive:
- Trade A: entry $100, stop-loss $98 — a 2% stop. If it's hit, you lose $10.
- Trade B: entry $100, stop-loss $90 — a 10% stop. If it's hit, you lose $50.
Same position size, same asset, same "strategy" — but Trade B risks five times more than Trade A. Over a hundred trades, your results are dominated not by signal quality but by which stops happened to be wide when they were hit, and your statistics become meaningless because no two trades risked the same amount.
Professional risk management flips the question. Instead of "how much do I buy?", you ask "how much am I willing to lose if I'm wrong?" — and let the position size fall out of the answer. That is fixed-risk position sizing, the entire idea behind Risk Ratio mode.
The Fixed-Risk Formula
The math is one line:
Position size = risk amount ÷ (entry price − stop-loss price)
Work through it with real numbers. Suppose you're willing to risk $50 per trade, and a signal fires on BTC/USDT:
- Entry price: $100,000
- Stop-loss: $97,000
- Stop distance: $3,000 per BTC
Position size = $50 ÷ $3,000 = 0.01667 BTC, a position worth about $1,667.
Check it: if the stop is hit, you lose 0.01667 BTC × $3,000 = $50. Exactly the risk you chose. The position value — $1,667 — was never a decision you made; it's a consequence of the stop distance. In fixed-risk sizing, position size is an output, not an input.
Move the stop closer, to $99,000, and the size becomes $50 ÷ $1,000 = 0.05 BTC — a $5,000 position, three times larger, yet the loss at the stop is still $50. Tighter conviction earns a bigger position; wider uncertainty forces a smaller one. The risk never changes.
Thinking in R-Multiples
Once every trade risks the same fixed amount, that amount becomes your unit of measurement: 1R. A trade that risks $50 and takes profit $6,000 above entry (with a $3,000 stop distance) is a 2R trade — it wins twice what it risks.
R-multiples make strategy quality visible. A system that wins only 40% of the time is profitable if the average winner is 2R:
- 40 wins × 2R = +80R
- 60 losses × 1R = −60R
- Net: +20R per 100 trades — with $50 risk, roughly +$1,000 before fees
That arithmetic falls apart under fixed-amount sizing, because each "R" is a different number of dollars. Consistent 1R risk turns a pile of trades into a measurable system: comparable setups, readable statistics, and survivable losing streaks because no single loss is oversized.
How Risk Ratio Mode Works on Freya
Risk Ratio is one of the two signal modes for Freya's signal bots (the other is Custom Signal — see How to Create a Signal Bot on Freya Finance for the full creation walkthrough). Here's what the mode actually does:
-
You configure the risk, not the amount. On the strategy step you pick a risk type and a Fixed Risk Amount in the quote currency — for example, 20 USDT per trade. The trade amount then shows as dynamic, because it can't be known until a signal arrives.
-
Your bot gets a single webhook URL. Unlike Custom Signal mode (separate Open and Close URLs), Risk Ratio uses one webhook. Freya gives you a JSON body template to copy into your TradingView alert; the payload carries the take-profit and stop-loss prices for that signal.
-
Entry is taken at market. When the webhook fires, the bot enters at the current market price, reads the TP and SL from the payload, and calculates the position size from your fixed risk amount and the entry-to-stop distance — the formula above, applied automatically.
-
Exits are placed automatically. The take-profit is a limit order at the exact webhook price, so it fills without slippage. The stop-loss always executes as a market order, prioritizing a guaranteed fill over a guaranteed price. Manual TP/SL settings are disabled in this mode — the webhook is the single source of truth for exits.
-
It's signal-driven, not candle-driven. A Risk Ratio bot doesn't watch a chart timeframe or wait for candles to close — there is no timeframe to configure. Your external strategy owns the timing; Freya owns the sizing and execution.
Anchored to the stop-loss, the fixed amount is a fixed loss: a stop-out costs your chosen amount. Anchored to the take-profit, it's a fixed profit target: the position is sized so that hitting the TP earns your chosen amount. Most traders use the stop-loss anchor, since it's the version that caps your downside.
Because sizing needs a risk type, a fixed amount, and a generated webhook URL, the creation flow validates all three before launch. And since the mode is a complete sizing-plus-exit system, it can't be combined with other trigger types on the same bot.
Worked Example: One Risk Amount, Four Different Stops
The formula applied across four hypothetical BTC/USDT signals, each entering at $100,000 with a fixed risk of $50:
| Stop-Loss Price | Stop Distance | Position Size | Position Value | Loss If Stopped |
|---|---|---|---|---|
| $99,000 (−1%) | $1,000 | 0.0500 BTC | $5,000 | $50 |
| $97,000 (−3%) | $3,000 | 0.0167 BTC | $1,667 | $50 |
| $95,000 (−5%) | $5,000 | 0.0100 BTC | $1,000 | $50 |
| $90,000 (−10%) | $10,000 | 0.0050 BTC | $500 | $50 |
Read the last column first: it never changes. That's the entire point. The position value swings from $500 to $5,000 — a 10x range — yet every one of these trades hurts exactly the same if it fails. Your signal source is free to place stops wherever chart structure demands, and the sizing adapts automatically. Notice also the inverse relationship: halve the stop distance and the position doubles. That elegance cuts both ways, as the limitations section shows.
Risk Ratio vs Custom Signal Mode
Both modes execute external signals, but they divide the work differently:
| Aspect | Custom Signal | Risk Ratio |
|---|---|---|
| Webhook URLs | Two (Open + Close) | One (entry signal) |
| Position size | You set the trade amount | Calculated from fixed risk + stop distance |
| Take-profit / stop-loss | You configure them in Freya | Carried in the webhook payload |
| How positions close | Your Close webhook (or your TP/SL settings) | Automatically, from webhook TP/SL |
| Risk per trade | Varies with stop distance | Roughly fixed at your chosen amount |
| Best for | Full manual control from your signal source | Strategies with a defined stop on every signal |
Choose Risk Ratio when every signal your strategy produces comes with a concrete stop-loss level — trend systems stopping under swing lows, breakout systems stopping below the range, ATR-based strategies. If your alerts already know where the trade is wrong, Risk Ratio turns that knowledge into disciplined, uniform sizing with no extra work.
Choose Custom Signal when you need to close positions on a signal rather than at a price (an indicator flip that says "exit now, wherever price is"), when your strategy doesn't produce explicit stop levels, or when you want to control the trade amount yourself. The modes can't be mixed on one bot — run separate bots if you need both behaviors.
Leverage and Futures: Fixed Risk, Variable Exposure
Risk Ratio mode works on both spot and futures, and futures introduce a subtlety: leverage does not change your risk — it changes your margin.
Take the tight-stop example from the table: a $5,000 position risking $50. On spot, you'd need $5,000 of USDT to open it. On futures at 10x leverage, the same exposure requires only about $500 of margin. But if the stop is hit, you still lose $50 — the loss is position size × stop distance, and neither number moved. Leverage decides how much capital is locked up, not how much is at risk, making it a capital-efficiency dial rather than a risk dial: you can run several Risk Ratio bots from one futures account while each bot's worst case remains its fixed risk amount.
Two honest caveats:
- Liquidation is the hard floor. Your stop-loss must sit inside the liquidation price. With high leverage and a wide stop, the exchange can liquidate the position before your stop ever triggers — and liquidation costs more than your planned 1R.
- Costs scale with notional, not margin. Fees and funding are charged on the full position value. A $5,000 position pays $5,000-sized fees even if only $500 of margin backs it, which quietly eats into the R-multiple math on tight-stop trades.
Limitations to Respect
Risk Ratio mode automates the sizing discipline, but it can't repeal market physics. Know these edges before going live:
Tight stops produce large positions. The formula's elegance is also its trap: a $20 risk with a 0.2% stop on BTC at $100,000 (a $200 distance) computes to a $10,000 position. Your available balance, leverage settings, and the exchange's own order limits become the real constraint long before the math does — and a stop that tight is likely to be clipped by ordinary market noise anyway. If your strategy produces very tight stops, use a smaller risk amount or question the stop placement.
"Fixed" risk is fixed approximately. The stop-loss executes as a market order, so in a fast move it can fill past the exact stop price — the guaranteed fill costs you price certainty. Entry has the mirror-image effect: the bot enters at market when the webhook arrives, so if price has drifted since your alert triggered, the real entry-to-stop distance differs slightly from what your signal assumed. Add trading fees, and a stop-out costs roughly your risk amount, not to-the-cent exactly.
You inherit your signal source's reliability. Trades are triggered by TradingView or webhook signals, and delays or outages at the source are possible. Treat your webhook URL like a password and keep your alert infrastructure healthy.
Webhook strategies can't be backtested on Freya. Backtesting replays historical candles against indicator rules, but a Risk Ratio bot's entries live in your external alert logic, which the backtester can't see. Validate the strategy where the signals are generated before wiring it to real capital.
Frequently Asked Questions
What is risk ratio position sizing?
Risk ratio position sizing — often called fixed-risk or fixed-fractional sizing — means you decide the maximum loss you'll accept on a trade before you enter, then derive the position size from it. The formula is: position size = risk amount ÷ (entry price − stop-loss price). If you risk $50 and your stop sits $3,000 below your BTC entry, you buy $50 ÷ $3,000 = 0.0167 BTC. Should the stop be hit, the loss is 0.0167 × $3,000 = $50 — exactly what you chose. The position's dollar value is a byproduct, not a decision. This inverts the common habit of trading a fixed dollar amount per signal, where the actual risk swings wildly with each stop's distance. On Freya, Risk Ratio mode applies this formula automatically for signal bots: the webhook carries the stop-loss, and the platform computes the size the moment the signal arrives.
How does Freya calculate position size in Risk Ratio mode?
When you build a signal bot in Risk Ratio mode, you set a fixed risk amount in the quote currency (for example, 20 USDT) and choose whether it's anchored to the stop-loss or the take-profit. The bot receives a single webhook URL plus a JSON template for your alert; the payload carries the take-profit and stop-loss prices for that specific signal. When the webhook fires, the bot enters at the current market price, reads the stop from the payload, and sizes the position so the loss at the stop equals your fixed amount — dividing your risk by the entry-to-stop distance. The trade amount is shown as dynamic in the bot settings because it genuinely can't be known in advance: every signal produces its own size. The take-profit is then placed as a limit order at the exact webhook price, while the stop-loss triggers as a market order.
What is an R-multiple and why does it matter?
An R-multiple expresses a trade's result as a multiple of the amount you risked. If your fixed risk is $50, that's 1R; a winner that makes $100 is a 2R trade, and a stop-out is −1R. R-multiples only work when risk is uniform — which is precisely what fixed-risk sizing guarantees — and they make strategy quality measurable in a way raw dollar results can't. A system winning just 40% of the time is profitable if the average winner is 2R: forty wins earn +80R while sixty losses cost −60R, netting +20R per hundred trades. Thinking in R also keeps drawdowns survivable and comparable: a five-trade losing streak always costs 5R, never a lottery of mismatched losses. In Risk Ratio mode, your fixed risk amount is your R, so every closed deal slots directly into this arithmetic without adjustment.
Does leverage change my risk in Risk Ratio mode?
No — leverage changes the margin a futures position requires, not the amount you lose at the stop. Risk equals position size multiplied by the entry-to-stop distance, and neither number depends on leverage. A $5,000 position risking $50 needs $5,000 of capital on spot, but only about $500 of margin at 10x leverage; a stop-out costs $50 in both cases. That makes leverage a capital-efficiency tool under fixed-risk sizing: you can run more bots from the same account while each one's worst case stays pinned at its fixed risk amount. Two cautions apply. First, your stop-loss must sit inside the liquidation price — with aggressive leverage and a wide stop, the exchange can liquidate you before the stop fires, costing more than your planned risk. Second, fees and funding are charged on the full notional value, so large leveraged positions carry proportionally large costs.
Can I backtest a Risk Ratio bot on Freya?
No. Freya's backtester works by replaying historical candle data against indicator-based rules — RSI thresholds, moving-average crosses, and so on — that live inside the bot itself. A Risk Ratio bot's entry logic lives outside Freya, in your TradingView alerts or another webhook source, so there's nothing on-platform for the backtester to replay; webhook-driven strategies (both TradingView and Risk Ratio) are excluded for that reason. The practical workflow is to validate the strategy where the signals are generated — TradingView's strategy tester, for example — including realistic fees and slippage, before connecting it to a live bot. Then start small: run the bot with a modest fixed risk amount for a few weeks and compare live results against your expectations. Because every trade risks the same 1R, even a short live sample gives you readable statistics about whether the strategy is performing as tested.
Keep Learning
Walk through the full bot-creation flow in How to Create a Signal Bot on Freya Finance, or compare this approach with the averaging-based sizing of a DCA bot strategy. Before committing real capital, read How to Backtest Your Crypto Trading Strategy — and for how Freya handles your funds and API keys, see Is My Money Safe on Freya Finance?.
