Identify bets placed by bots

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heja
    Junior Member
    • Nov 2012
    • 20

    #1

    Identify bets placed by bots

    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?
  • bnl
    Junior Member
    • Nov 2012
    • 108

    #2
    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

    • OliasOfSunhillow
      Junior Member
      • Feb 2013
      • 57

      #3
      Use identifiable bet sizes eg

      bot 1 £x.99
      bot 2 £x.89
      bot 3 £x.79

      Comment

      • heja
        Junior Member
        • Nov 2012
        • 20

        #4
        Thank you for the great ideas!

        Comment

        • Guest

          #5
          I thought this is what the customer ref number in the placeorder is used for. This has to be unique for each current bet, but you could use a naming convention ie

          Bot 1 - "Lay???????", where ?????? is a date and time stamp ?
          Bot 2 - "Arb???????"
          Bot 3 - "Back?????"

          Comment

          • bnl
            Junior Member
            • Nov 2012
            • 108

            #6
            I think that using a db is a great help for analyzing results later. But it might be
            My day-time job that affects me, I program using a db every day.
            Not everybody is comfortable with it.
            /Björn

            Comment

            Working...
            X