by plake » Sun Oct 06, 2013 5:32 am
I had a recent situation where it looks like a sliding loss - SL modifier triggered on the same refresh cycle as Gary's Greenup routine executed.
As calcGreenUp is executed before ba.cancelallbets in the routine then the Sliding Loss result trigger in the same refresh cycle will not be included in MyBets so not taken into account in the calcGreenUp calculation.
Should ba.cancelallbets be executed one or more refresh cycles before calcGreenup is executed to ensure MyBets is an accurate reflection of the market position.
Anyone know if ba.cancelallbets is executed then Mybets will not change from the next refresh cycle or can it update on the following cycle so takes at least 2 refresh cycles for MyBets to be stable after ba.cancelallbets.
Thanks