-
Yet another SMM version. Same same but different.
Related Scripts From This Author
-
-
May 7, 2021 at 11:40 PM #2223DanielPonsBasic
-
May 7, 2021 at 11:42 PM #2224DanielPonsBasic
-
May 15, 2021 at 9:48 AM #2246mardedudeBasic
-
May 15, 2021 at 11:30 AM #2247ShoeBasic::
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.
-
-
May 30, 2021 at 10:42 AM #2283SupMapBasic::
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
-
May 30, 2021 at 5:59 PM #2285ShoeBasic::
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
becauseSetFee()
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 whysetFee()
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 -
May 30, 2021 at 6:04 PM #2286
-
-
January 5, 2023 at 11:41 AM #3367
-