Quantcast
Channel: Developer Program Forum
Viewing all 1639 articles
Browse latest View live

Results inconsistencies with non-runners

$
0
0
I've been trying to make use of the API's ability to discover the winners/losers of a settled market, as it is a comprehensive source of results. But I keep hitting problems with markets and seemingly bad data.

For example, horse race market 1.119644596, Fair (RSA) 24th Jul - 15:55 R9 1000m Hcap.

calling listMarketBook() on this market returns a runner with selectionId 10064529, status 'LOSER', with no SP. From my records, this selectionId was the runner named 'Just To Early', which was actually marked as a non-runner the previous day. So the API should not be listing this horse as a loser, it took no part in the race.

The results might be broken for this race in particular because the horse was originally misnamed. The correct name is actually 'Just Too Early', and this was added as a separate runner, selectionId 9093205. Before the race was closed, the API was returning valid data. The horse 'Just Too Early', 9093205 was listed in the market, and the typo 'Just To Early', id 10064529, was listed as a non-runner.

Later on, the 'correct' horse 'Just Too Early' was declared a non-runner. So selectionIds 10064529 and 9093205 were listed in the non-runners. Again, up until the race started, the API is returning the correct information. The runners are correct, the non-runners are correct (ok, so a horse is listed as a NR twice because of the typo, but not a problem).

But, after the race finished and the market settled, somehow selectionId 10064529 is being reported again as a real runner in the race. It disappeared from the list of non-runners. This is broken, some part of Betfair's API is doing the wrong thing.

Although rare, this is not a one-off problem. I suspect it is all tied to the fact that the horse was misnamed. But in any case, it means that the API returns incorrect information and makes using the results feature of the API unreliable. Could this bug report get passed on to someone to investigate, please?

Send order mode training

$
0
0
The betfair me provides 2 types of AppKey, a delayed and the other I think is normal.

I make software and need to test the sending of orders.

I use the delayed account to test or is there another way?

Thank you

How does Betfair's bet matching process work

$
0
0
Hi, and I am developing a betfair software and need a better understanding of How does Betfair's bet matching process work?

example football

Barcelona
back -> 1.16 lay -> 1:18

Real Madrid
back -> 1:18 lay -> 1:20

Draw
back -> 5.1 lay -> 5:30

In this fictitious example I will make an order back to barcelona odd 1:16 it will be matching?

What is the formula to use in this case?

Lack consider some information to calculate the matching process?

Thanks

API-NG Visualisers - Update to URL - 2nd September

$
0
0
Please note that from tomorrow the API-NG Visualisers will be available directly from URL's, the existing URL's will no longer be accessible:

Code:

Betting API -  https://developers.betfair.com/visualisers/api-ng-sports-operations/

Accounts API - https://developers.betfair.com/visualisers/api-ng-account-operations/

Heartbeat API - https://developers.betfair.com//visualisers/api-ng-heartbeat-operations/

Betfair Developer Program

Developer Program Site - Maintenance - 2nd September - 1100 - 1300

$
0
0
We are carrying out a new site release today between 1100-1300 during which time you may experience disruption when visiting http://developer.betfair.com/

Sorry for the inconvenience caused.

Betfair Developer Program

Bet on Betfair exchange

$
0
0
Hi guys, i am try to make bets on betfair exchange with help of my programm and API but almost all my bets are unmatched.

Bet size always 4$, size of the price(coefficient/selection) always 300$+, time between i got coefficient size and bet ~5-10 milliseconds.

PlaceBet reuqest that i'm using:
Code:

{\"jsonrpc\": \"2.0\",\"method\": \"SportsAPING/v1.0/placeOrders\","
+ "\"params\": {"
+ "\"marketId\": " + marketId + ", "

+ "\"instructions\": [ {"
+ "\"selectionId\": \"" + selectionId + "\","
+ "\"handicap\": \"0\","
+ "\"side\": \"" + side + "\", "
+ "\"orderType\": \"LIMIT\", "

+ "\"limitOrder\": {"                           
+ "\"size\": \"" + size + "\","
+ "\"price\": \"" + price + "\","
+ "\"persistenceType\": \"PERSIST\"} "
+ "}]},\"id\": 1}

May be something wrong with my bet request parameters?


To get information about market i am using this request
Code:

{\"jsonrpc\": \"2.0\", \"method\": \"SportsAPING/v1.0/listMarketBook\",\"params\": {\"marketIds\":[" + event.get_marketId() + "],\"priceProjection\":{\"priceData\":[\"EX_BEST_OFFERS\"],\"virtualise\":\"true\"}}, \"id\": 1}

How to Sync the time between my server and Betfair

$
0
0
Hi

I have a problem where I keep getting messages of BET_TAKEN_OR_LAPSED (even though the bet is not set to be converted to SP at inplay but kept as an inplay bet) - and is logged in the Betfair website betting history as Cancelled.

This usually happens BEFORE the time of the race as well so I am thinking maybe my server clock is out of sync with Betfair and I am trying to place a bet which has lapsed because the race has started.

How can I sync my clock up with Betfair so the times are in sync?

I am using API-ING C# - a non interactive BOT

Thanks

Rob

Failing to create app key

$
0
0
Hi

I'm trying to create app key using the API_NG visualiser.

I've logged in, the ssoid is populated properly, but when I try to create an App Key it fails with : APP_KEY_CREATION_FAILED

ETA: I've tried with both Chrome and IE and got same results.

Any ideas?

Cheers

Ladder Building

$
0
0
Hi All,

I want to build a ladder to show more market depth than my current grid view allows.

In Marketbook using EX_ALL_OFFERS I can get the data I want for a particular market, but before I launch off and start building a container to display the data, I though I would ask what other developers have found the best method.

I figure a static pre-built DGV would work where data can be added where it matches - on the other hand showing the data on the fly may work with panels and so on.

Can anyone fill me in on their experiences?

Grantay

invio giocata con decimali

$
0
0
E' possibile inviare una giocata con decimali tipo (2.43) tramite api ng
in linguaggio .net

Error in data

$
0
0
BDP team,

Came across this error today at Traralgon Greys, Race 6 Market id 2.101293557:

{RunnerDescription : SelectionId=10244984 : runnerName=1, Dr Des : Handicap=0 : Metadata=}
_Handicap: 0.0
_Metadata: Nothing
_RunnerName: "1, Dr Des"
_SelectionId: 10244984
Handicap: 0.0
Metadata: Nothing
RunnerName: "1, Dr Des"
SelectionId: 10244984


A couple of issues - firstly in the runnername, the TAB number for this dog is separated by a comma, not a period.

Secondly this dog is repeated in the same race:

{RunnerDescription : SelectionId=8585960 : runnerName=1. Dr Des : Handicap=0 : Metadata=}
_Handicap: 0.0
_Metadata: Nothing
_RunnerName: "1. Dr Des"
_SelectionId: 8585960
Handicap: 0.0
Metadata: Nothing
RunnerName: "1. Dr Des"
SelectionId: 8585960

The reserve runner is actually Dr Samson, TAB # 9

Grantay

this down - https://developer.betfair.com/visualisers/api-ng-account-operations

Have Betfair got this wrong in their documentation?

$
0
0
Hi

I want to know 100% when a market is running as I was getting lots of cases of CLOSED markets which still had Inplay as True. And I thought InPlay was the way of checking.

However I was told this.

question) How do I know 100% a race is running?

answer given) If the race is ACTIVE and "inplay":true,

also

InPlay means that the market is in play and is subject to the market status being ACTIVE. The CLOSED state indicates that the market has been settled. A market won't changed from CLOSED to ACTIVE in its lifetime, Its will only transmission from SUSPENDED > ACTIVE before being settled (CLOSED).

But on their ENUM page there are only 4 and none that says ACTIVE.

https://api.developer.betfair.com/se...s-MarketStatus


INACTIVE - The market has been created but isn't yet available.

OPEN - The market is open for betting.

SUSPENDED - The market is suspended and not available for betting.

CLOSED - The market has been settled and is no longer available for betting.

And on their Betting Type Definitions page they say against status this

status: MarketStatus

The status of the market, for example ACTIVE, SUSPENDED, CLOSED (settled), etc.

Have they confused ACTIVE with OPEN?

Or is there an ACTIVE enum missing from their documentation and code?

Thanks

Rob

Market types

$
0
0
Just wondering if there's a resource giving a list of possible variations for particular market types?

For example, while developing some code to handle the 'WINCAST' market type, by pure chance I noticed in the visualiser that for tonight's England game (event id 27521682) there are two such markets given by listMarketCatalogue. Market names are 'First Goal Wincast' and 'Anytime Wincast'. Seeing as these are two of a grand total of only three markets of that type returned for all current soccer matches, I'm sure on many other occasions this difference would have slipped through the net and I'd have ended up hard coding for just one of the two variations. It makes me wonder if there are other such undocumented (to my knowledge) alternatives?

Using Oralce PL/SQL to access Betfair API

$
0
0
Has anyone developed an Oracle PL/SQL package/procedure that can access the Betfair API? I am just looking for a sample piece of code to help me understand how to go about it.

Network Issues Affecting API Customers

$
0
0
We are aware that network issues are causing intermittent timeouts which are affecting API customers.

This is being investigated as a high priority as we try to understand the root cause.

Sorry for the inconvenience caused by these issues.

Kind Regards

Betfair Developer Program

Racing Feed Required

$
0
0
Hi guys,

I'm after an XML/JSON feed that provides:

The day's meetings
runners
info on the runners such as the weight, jockey, trainer and silks.

Do Betfair supply this?

Thanks.

Missing Competition Info (listMarketCatalogue)

$
0
0
Hi all!

I request a list of tennis matches using listMarketCatalogue and received following answer:
Code:

{
"jsonrpc":"2.0",
"result":
[
        {
                "marketId":"1.120538702","marketName":"Match Odds","totalMatched":12127.725726,
                "runners":[{"selectionId":6440521,"runnerName":"Richel Hogenkamp","handicap":0.0,"sortPriority":1},{"selectionId":2451050,"runnerName":"Arantxa Rus","handicap":0.0,"sortPriority":2}],
                "event":{"id":"27534650","name":"Hogenkamp v Rus","countryCode":"NL","timezone":"CET","openDate":"2015-09-11T10:30:00.000Z"}
        },
        {
                "marketId":"1.120574275","marketName":"Match Odds","totalMatched":178525.69945800002,
                "runners":[{"selectionId":8621877,"runnerName":"Albert Ramos-Vinolas","handicap":0.0,"sortPriority":1},{"selectionId":8257868,"runnerName":"Salvatore Caruso","handicap":0.0,"sortPriority":2}],
                "competition":{"id":"8192907","name":"Genova Challenger 2015"},
                "event":{"id":"27535828","name":"Ramos-Vinolas v Caruso","countryCode":"IT","timezone":"UTC","openDate":"2015-09-11T11:33:00.000Z"}
        }
],
"id":1
}

Why "competition" section missing in the first match?
It happens time to time and I don't know what should I do.

Thanks for any help.

Api-ng sample code software

$
0
0
Guys, i am trying to run the cSharp sample software that is provided by https://api.developer.betfair.com. I am providing the appkey and the session token and for some reason is not getting any results back , bear in mind that i did not touch the code. i am attaching the request and the response debuging variable screenshots. Btw the last time i run this program was 5-6 months ago and was running properly. is there anything changed during this period?. :confused:

Attached Images
File Type: png call.PNG (17.1 KB)
File Type: png response.PNG (23.0 KB)

Curl login

$
0
0
Hi,

I was just wondering why the login request using the curl script on the wiki always says invalid username and password even though I know for a fact that I am entering the correct username and password.

Code:

curl -k -i -H "Accept: application/json" -H "X-Application: <AppKey>" -X POST -d 'username=<username>&password=<password>' https://identitysso.betfair.com/api/login

But this code I found on the forum works fine, although doesn't return a JSON but writes to a text file. Also why does this code not need an App key but the one on the wiki does?

Code:

curl "username=USERNAME&password=PASSWORD&login=true&redirectMethod=POST&product=home.betfair.int&url=https://www.betfair.com/" https://identitysso.betfair.com/api/login

Thanks!
Viewing all 1639 articles
Browse latest View live