Brokers overnight interest rate

Forums ProRealTime English forum ProOrder support Brokers overnight interest rate

  • This topic has 13 replies, 3 voices, and was last updated 7 years ago by avatarEric.
Viewing 14 posts - 1 through 14 (of 14 total)
  • #19374

    Hi. Is there anyway to code or take in consideration the Brokers overnight interest rate in ProOrder?

    I can see there is an estimated brokers fee, but that does not add overnight interests, only add a one time fee. Since IG actually charge what more or less would be 0.8 euro a night/position on DAX 1e mini, it kind of adds up. for example if you have 2 position open a week you will be charged around 11 euros of interests+ spread. that’s quite a lot,so it would be nice to have the possibility to code this with your strategy.

    Cheers Kasper

    #19388

    and forex has this rule

    “three day funding is charged on a wednesday”

    #19399

    So if you have overnight forex positions on a wednesday they charge you for 3 days?

    #19402

    There is a possibility to compute the interest rate. But you will not be able to have all the benefit of the Probacktest window result. You could make a new variable, graphed on chart with STRATEGYPROFIT minus the interest rate previously calculated. This is the first idea that come to mind 🙂

     

     

    #19412

    Hi Nicolas, and thanks for the idea, I will try and come up with something 🙂

    #19420

    could this be true?

    on a 4H chart- given is 0.8 euro interest per Position per night on DAX 1euro mini.

    it just took out 21% of pathfinder profit 🙁

     

    #19582

    There is a problem with this code. I will return when I solved the issue

    #19583

    I  think this is more correct. also it did not take 21% profit as first assumed. I can see around 6% of Pathfinder V6.0 DAX 4H. I Have added a screendump for verification.

    Please comment on this.

     

    #19594

    Sorry if I missed something but you never defined what is the ‘Equity’ variable?

    6% fees of +500% of profit  is nothing 🙂

    #19595

    Ahh of cause. And yes. 6% is nothing I agree on that:-)

    I forgot the rest of the code. here it is

     

    #19600

    Thanks Kasper for this code snippet, fees are a major thing we too much often ignore and that can broke up a nice equity curve.

    I’ll put this code into the blog for future references.

    1 user thanked author for this post.
    avatar ALE
    #19773

    Hi Nicolas, yes that is a great idea to put it in the Blog section. I would have taken the task off your busy hands but I couldn’t create a blog. Perhaps it meant to be like this?

    Cheers Kasper

    1 user thanked author for this post.
    avatar ALE
    #19833

    Congratulations about your first blog post: https://www.prorealcode.com/blog/learning/overnight-fees-calculation-proorder-strategies/

    Any other ideas are welcome, everyone can be published in the blog section of the website 🙂

    1 user thanked author for this post.
    #21665
Viewing 14 posts - 1 through 14 (of 14 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login