Event Time for Race

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deacon Lacroix
    Junior Member
    • Apr 2015
    • 7

    #1

    Event Time for Race

    Hello! Just need some help in identifying the correct time of an event. Is this property the correct one? I tried checking on a different app and it is giving me a different value.

    Thanks much!

    Betfair Event Time.png
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    You want to look at the marketTime field in the marketCatalogue response.

    You will need to specifically request the start time to be returned as part of the listMarketCatalogue request (use the marketProjection field).

    Comment

    • Deacon Lacroix
      Junior Member
      • Apr 2015
      • 7

      #3
      Hello! Thanks for replying. The attached imaged is what I see in MarketTime. And when request for MarketCatalogue:

      var marketCatalogues = _client.ListMarketCatalogue( BFHelpers.HorseRaceFilter(), BFHelpers.HorseRaceProjection(), MarketSort.FIRST_TO_START, 25).Result.Response;

      and HorseRaceProjection is


      public static ISet<MarketProjection> HorseRaceProjection()
      {
      ISet<MarketProjection> marketProjections = new HashSet<MarketProjection>();
      marketProjections.Add(MarketProjection.RUNNER_META DATA);
      marketProjections.Add(MarketProjection.MARKET_DESC RIPTION);
      marketProjections.Add(MarketProjection.EVENT);

      return marketProjections;
      }


      Did I overlook anything? By the way, I'm running on AUS exchange.
      Attached Files
      Last edited by Deacon Lacroix; 06-05-2015, 02:48 AM.

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        Your marketProjection needs to contain MARKET_START_TIME as per the documentation (see https://api.developer.betfair.com/se...rketProjection)

        Also, please remember, the date/time is in UTC (i.e. GMT+0) and not local time.

        Comment

        • Deacon Lacroix
          Junior Member
          • Apr 2015
          • 7

          #5
          Thanks much for this.

          Comment

          Working...
          X