the code suggest the bet tipe, the stake & the odds to close positions, but I'm not sure if I'm using this information in the correct way...
I want to close the positions 1 minute before the markets turns in play, ad i think to do in this way:
- If column T is populated, and column Y (Offset bet matched) is equal to "N",
i cancel the bet ref in T
- then I put in the trigger the Green up bet, I put in column R the green up Odds and in the column S I put the green up stake
Is it correct?
Have I also to cancell all unmatced?
