Username: Password:

Author Topic: Risk Management / Position Sizing  (Read 13762 times)

Offline TheForce

  • Rookie
  • *
  • Posts: 1
    • View Profile
Risk Management / Position Sizing
« on: October 30, 2022, 12:14:32 PM »
Hi. When trading, I’m used to position sizing and risk management. I saw, that I can set the maximum amount per trade and a stop loss. However, I couldn’t find an option to, e.g., set a stop loss relative to my portfolios total value. Example: let’s say, I have 1000 USDT on my an account and would like to take max 2.5% (25 USDT) risk per trade. Is there a way to configure a bot in a way that the money I loose with a trade, when the stop loss triggers, is 25 USDT — instead of setting a percentage distance to the entry price? Thanks!
« Last Edit: October 30, 2022, 02:56:40 PM by TheForce »

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: Risk Management / Position Sizing
« Reply #1 on: December 03, 2022, 03:43:27 PM »
Hi,Be careful using it as it could be a mess for strategies like Spot Grid or SGH. If you want to create it you could:

"TRADING_LIMIT": " (parseFloat(this.pair.whatstrat.TL_PERC)/100*this.pair.walletBalance)"

Enter this line in an AC-Job in overrides and add "TL_PERC" to your strategy and/or overrides. This should do what you want it to do: Set TL as your set % of walletBalance.