Can you add Time to MarketBook?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EKK
    Junior Member
    • Aug 2010
    • 38

    #1

    Can you add Time to MarketBook?

    Hi BF API Team,

    I noticed there is no time on MarketBook - but there is time on the Order (Placed Date and Matched Date).
    When I need to reconcile the reduction factor -
    I need to know what the reduction factor was at the time I place my bet and what it was at the time my bet is matched. In order to do that I get the place date and matched date - and find the marketBook which corresponds to that time. But because I have no time on MarketBook I can't find it. I can always stamp the system current time on the marketBook - but this relies on the fact that the box I am using is in sync with Betfair time (on which I have no control).

    Alternative - is there a way to sync my box to Betfair time?

    Thanks
  • Mr Magoo
    Junior Member
    • Jan 2011
    • 86

    #2
    If you are worried about time mismatches, why not instead just record which runners were in the market at the time you placed the bet? You can then compare with the later non-runners to find out which were removed after the bet.

    Comment

    • doctormike
      Junior Member
      • Nov 2012
      • 55

      #3
      marketBook Time

      Not sure I fully understand what the issue is. Whenever I call marketBook I use DateTime.ToLocalTime to sync times. I'm using Visual Basic & would imagine all languages have similar. Maybe this isn't addressing your issue - if not, apologies.

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        Originally posted by EKK View Post
        Alternative - is there a way to sync my box to Betfair time?
        Yes - use the NetTime tool (it is free and can be downloaded from http://www.timesynctool.com)

        Set the time servers to point to:

        2.ie.pool.ntp.org
        1.europe.pool.ntp.org
        2.europe.pool.ntp.org


        These are the servers that Betfair uses for time synchronisation.

        You can set NetTime to sync your PC clock at specific intervals, so if you update your clock every hour then this should account for any time drift.
        Last edited by betdynamics; 11-11-2015, 07:09 PM.

        Comment

        Working...
        X