C# a Step by Step Beginners Tutorial

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Escapee
    Junior Member
    • Feb 2009
    • 51

    #121
    CaptnCanary

    Are you logged on to the website when you are seeing those differences between the api and website prices ?

    If you are not logged to the website, then the website prices are at least 15 minutes delayed so will appear different.

    Another possibility, it's caused by betfair's X-Matching bot....
    See this thread for an explanation of how betfair generates synthetic prices which show up on the website but NOT on the API.

    But I think the most likely is you are not logged on to the website when comparing prices

    Comment

    • clerk
      Junior Member
      • Feb 2014
      • 10

      #122
      Escapee, please help. How to derive the parameters for the order the rate of events CellClick when you click on a cell

      Code:
      private void c_MktGrid_CellClick(object sender, DataGridViewCellEventArgs e)
              {
                  // this control, in which you need to pass
                  BetEdit be = new BetEdit();
                  fLP_Bets.Controls.Add(be);
                  
                  //selectionID
                  ????????????????
                 
                  //Odds
                  ????????????????
      
                  //color back or lay
                  ??????????????????
      
                  //runner name
                  ???????????????????
              }

      Comment

      • clerk
        Junior Member
        • Feb 2014
        • 10

        #123
        the problem was that I tried to use as the data provider directly MarketGrid. I found that to get MarketGrid only indexes to refer to classes of runners
        Code:
        private void c_MktGrid_CellClick(object sender, DataGridViewCellEventArgs e)
                {      
        
                    int ri = e.RowIndex;
                    int ci = e.ColumnIndex;
                               
                    //selectionID
                    long id = mData.RDATA[ri].ID;
                     ........................
                    
                 }

        Comment

        • kawafan
          Junior Member
          • May 2011
          • 33

          #124
          hi dear.
          we would love to see the same type starting guide for the new API.
          are you thinking about it ?

          Comment

          Working...
          X