How should I set up the hedging, V2.55.11

Avatar
  • updated
  • Answered

Hello everyone, I am looking for your opinion or help on using automatic hedging based on the number of orders engaged on the main series.

I have followed the guidelines in the documentation:

  • If you want to replace 'Auto-hedge after order #', that was available before v2.50, set:
    • Allow hedge on its own signal only = False
    • Allow hedge only right after main position open = True
    • Allow hedge only after main order # = desired valueImage 5275

      Image 5277
      Unfortunately, I can't seem to get it to work; no hedge orders are being placed.
      Please find my configuration attached.TestHedge.set
      Thank you for your help.
      St├ęphane
Avatar
1
Andrey Khatimlianskyi
  • Answered

You need Allow hedge on its own signal only = true and set some dummy (always showing buy and sell) signal with "Open hedge on = true".
With Allow hedge on its own signal only = false it can open hedge on the regular signals only (those used to open the main series).

Please, let me know if this works for you.

Avatar
1
Stephane DURIF

Andrey, thank you for your response. I will test it out very soon

Avatar
1
Stephane DURIF

Andrey, Ok it's now working with an indicator to open hedging positions. I'm continuing to test this feature, which I'm still struggling to master

´╗┐