BFExplorer 2 - concurrent execution on selection
Posted in Bot programming by wickedw
Hi,
When testing parallel execution of 2 bots using "concurrent execution on selection", both bots have a placebetontime of about -20 seconds, yet they are immediately placing their lay bet into the market when the bot is run?
Can you advise on this behaviour?
Thanks
Matt
Wednesday, July 27, 2011
You must set the parameter PlaceBetOnTimeEnabled to True. Why is it so?
In all bot parameters a zero value parameter is used for not used parameter, in such case a bot feature you could influence by such parameter is not used. For instance in trading bots if you set a parameter Loss to 0, the bot will not use this parameter so your bet position will not be closed in a loss.
For some time parameters I added Enabled parameters, so for PlaceBetOnTime parameter I added PlaceBetOnTimeEnabled, because 0 value could be a relevant time parameter as well.
Thursday, July 28, 2011
Thanks, you are correct, I forgot to set this parameter on both my test bots.