by merbals » Tue Mar 31, 2015 8:17 pm
Hi Guys,
First post on here so be gentle.
I have been writing some semi automation now for over 6 months it is very involved but it is there now and all works except I am having a strange problem with the PlaceBet and BetPlaced events.
Basically what is happening is I am getting up to 4 seconds of delay (Horse racing) from when I execute the PlaceBet command to when I get the BetPlaced event back. I am logging this with time stamps when I place the bet and log the prices and amount available and then log with the reference and status of the Betplaced event but I am getting 3-4 seconds in between and can't figure out why. It is driving me mad I now that my bet is not being placed until after the delay because I can see the price movement going either side of my bet after the 1 sec inplay delay.
It is very confusing and don't want to give up and just use excel as this is the only thing I am struggling with.
Any thoughts or help would be greatly appreciated.