Is there a way I can find out whether a market is Persistent? Currently i can place a bet and set Persistence True however if the market doesn't allow it then it just returns False which is fine. However I would prefer to know prior.
How can find out whether market has Persistence?
Collapse
X
-
There is a bool called persistenceEnabled in the marketCatalogue description also available in the streaming marketDefinition
https://docs.developer.betfair.com/d...ketDescription
Comment
-
Oh Thanks LiamP I thought I had seen it somewhere before and perfect I can use this
.
then re-read through MarketDefinition and noted MarketTime and though Oh! I currently use MarketStartTime ie
myBot.MarketCatalog(x).MarketStartTime
However I am wondering whether I should be using MarketTime
myBot.MarketCatalog(x).Description.MarketTime
Q1) Liam if a racing event is delayed in start then are both variables MarketStartTime and MarketTime updated?
Q2) Which Start time should I be using?
I then compared my MarketDefinition class (taken from here 6 years ago https://github.com/betfair/API-NG-sa...Description.cs) against the current class and noted the additional 3 members:Will add these to my class but not sure I will need to use them, however my question ...lineRangeInfo MarketLineRangeInfo Line range info for line markets raceType String An external identifier of a race type priceLadderDescription PriceLadderDescription Details about the price ladder in use for this market.
Q3) is there a location where the sample code for C# (or VB) is updated when changes to the API are made?Last edited by Guest; 21-04-2020, 05:57 AM.
Comment
-
My understanding is that the fields are the same, drives me mad why for some reason they named lots of fields differently in streaming!
1) If racing is delayed betfair will not update the times (betdaq does sometimes) they may tell you through the race api.
2) Should be the same
3) No idea for c#, I think they try and keep the github repos up to date, I use this forum (announcements), email and the api docs updates to keep betfairlightweight up to date.
Comment


Comment