[ShoeBot] Shoe’s Money Maker a.k.a yet another SMM version

4 1717 Views 8 Comments 3 years ago
    • #2223
      DanielPons
      Basic
      Up
      0
      Down
      ::

      Hi, thanks for the post,

      Think that calls a custom command:

      ERROR: Unknown references: CC_VPM3

      Daniel.

    • #2224
      DanielPons
      Basic
      Up
      2
      Down
      ::

      Sorry, saw it now in the comments…

    • #2246
      mardedude
      Basic
      Up
      1
      Down
      ::

      Hi,

      I have a question. Could you make a function that increase the slot size? So for example first order slot is 0.15 second order slot 0.20 etc

      • #2247
        Shoe
        Basic
        Up
        0
        Down
        ::

        Hi,

        I started implementing it a while ago and I remember there was some hurdle (I don’t know exactly what it was) why I stopped working on it. It’s still in my backlog but not with high priority. I am not sure how benificiary it really is. I also remember that I did some calculations and found the dynamic spreads renewing the slots after a while more helpful. If you think it’s a very helpful strategy contact me via discord and I am happy to hear your thoughts.

    • #2283
      SupMap
      Basic
      Up
      1
      Down
      ::

      Hi, first of all thanks a lot for releasing your code! Secondly after quickly looking over it i was not able to explain myself what the part is for:

      if isBacktest then SetFee(Abs(MakersFee())*-1) end

      I mean i get that you are actually making negative fees positive and vice versa, but what for? I really would love to understand that one, maybe you could explain? ๐Ÿ™‚
      Thanks!

      P.S: And this one as well ๐Ÿ™‚

      if not isBacktest then CC_VPM3() end

      Dan

      • This reply was modified 2 years, 10 months ago by SupMap.
      • #2285
        Shoe
        Basic
        Up
        0
        Down
        ::

        Hi Dan, thanks for taking a look at the details. ๐Ÿ™‚ It feels good seeing people digging deeper and challenging the code.

        Honestly, I don’t understand the first line either. This is coming from the original by Pshai. The only thing I added was checking for isBacktest because SetFee() is applied in backtests only anyways and I thought it might speed up the backtest by a nano second if I check this first. If you would like to understand why setFee() is used like this please approach Pshai, most preferrably on the Discord server in the #haasscript-bots channel. I am sure he has an answer to this…I just trusted him with this line of code but now that you’re asking I am interested as well.

        Regarding if not isBacktest then CC_VPM3() end I have a proper answer. ๐Ÿ˜€ It’s loading the Custom Command for Virtual Position Management by Kobalt but this is definitely not used in backtests why I also tried to save some time in backtests not loading it at all. I did some performance tests and it doesn’t save as much as I was hoping for but if you’re testing a large timeframe and some variations (HaasLabs) it definitely counts.

        I hope this helps.

        Cheers,
        Shoe

      • #2286
        SupMap
        Basic
        Up
        0
        Down
        ::

        Hi Shoe,

        thanks a lot for the quick reply, now i understand the approach of speeding up the backtest by disabling CC_VPM3, a smart idea! Regarding the other question i will get in contact with Pshai directly, thank you!

        Best

        Dan

    • #3367
      Hiromatsu
      Basic
      Up
      0
      Down
      ::

      Hey Shoe,

      thank you for this awesome version of the SMM. I wrote you a DM on discord concerning a problem I have with a mod I did to your script. Kind regards Hiromatsu

Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free