May 7, 2021 at 3:40 PM #2223
May 7, 2021 at 3:42 PM #2224
May 15, 2021 at 1:48 AM #2246mardedudeBasic
May 15, 2021 at 3:30 AM #2247ShoeBasic
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 2: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? 🙂
P.S: And this one as well 🙂
if not isBacktest then CC_VPM3() end
- This reply was modified 3 months, 2 weeks ago by SupMap.
May 30, 2021 at 9:59 AM #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
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.
if not isBacktest then CC_VPM3() endI 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.
May 30, 2021 at 10:04 AM #2286