I am running multiple bots with different strategies and occasionally I also place bets manually. Therefore I frequently run into the problem that I need to know which order was placed by which bot. Is there a way in the new API to identify an order placed by a specific bot? I know, I can add a "customerRef" parameter to the placeOrders request, but if the order is matched later, I cannot retrieve this parameter with the listCurrentOrders. Does anyone know a method to overcome this problem?
Identify bets placed by bots
Collapse
X
-
I use a database. A name of the bet is included in the bet table. I got a naming convetion of, animal,markettype, betside, and some parmeters for the particular bet.
Horses-win-lay-8.4-12.0
Would be a lay-bet on a horserace win market where the runner at bet-time had a lay-odds between 8.4 and 12.0
Later i fill in profit as well. Then i can keep track of profitable strategies and bad ones.
Of course, a botname could be added.
/Björn
-


Comment