Hi,
I'm quite a beginner with C# - no educational background in programming but I am usually pretty quick to pick things up when I am making a little progress at a time.
Anyway this example has been very good for me, I have now modified it significantly to perform very useful functions for me. One of the biggest remaining issues left for me is that when i try to place a bet in running the placebet method times out due to the 5-7 second delay.
So a few seconds after it executes this
"CSharpAPI6.betfair.api.exchange.PlaceBetsResp resp = m_simpleAPIWrapper.BFExchangeService.placeBets(req );"
I get an error if there is a bet delay - I imagine this is because it hasn't received resp in the time expected.
Any idea how to set an execution timeout time of about 10 secs on this?
thanks,
Mick
I'm quite a beginner with C# - no educational background in programming but I am usually pretty quick to pick things up when I am making a little progress at a time.
Anyway this example has been very good for me, I have now modified it significantly to perform very useful functions for me. One of the biggest remaining issues left for me is that when i try to place a bet in running the placebet method times out due to the 5-7 second delay.
So a few seconds after it executes this
"CSharpAPI6.betfair.api.exchange.PlaceBetsResp resp = m_simpleAPIWrapper.BFExchangeService.placeBets(req );"
I get an error if there is a bet delay - I imagine this is because it hasn't received resp in the time expected.
Any idea how to set an execution timeout time of about 10 secs on this?
thanks,
Mick



Comment