Questions tagged [betfair]

This tag should be used only on questions that are about programmatic access to the Betfair API features.

Questions about BetFair generally refer to programmatic access to the BetFair exchange via its APIs, primarily:

71 questions
0
votes
0 answers

Historical data, calculate lay odds from back odds 3 or more selections

Betfair Historical data files, comes only with back prices. For me it's ok with markets of 2 selections,ex: Market Under/Over 2.5 Given Under Back Price 1.73 ---> Under Lay Price ??? Over Back Price 2.26 I can calculate "Under Lay Price" inverting…
jer
  • 323
  • 3
  • 5
0
votes
1 answer

Betfair Non-interactive Login does not work

I have been struggling to achieve Non-interactive login to Betfair using certificate. I'm using C# and on Windows 10. I'm just testing with sample project: https://github.com/betfair/API-NG-sample-code I have app key I created certificates with no…
JM217
  • 696
  • 4
  • 18
0
votes
1 answer

TCPSocket connection reset by peer

require 'socket' socket = TCPSocket.open('stream-api.betfair.com', '443') while line = socket.gets puts line.chop end socket.close I should receive something like {"op":"connection","connectionId":"002-230915140112-174"} but I receive Connection…
Fabrizio Bertoglio
  • 5,890
  • 4
  • 16
  • 57
0
votes
1 answer

Betfair, how to retrieve MATCH_ODDS, price , inplay through the Betfairs api

This is my code and it does not seem to get what i want.It just presents the number of matches having match odds whereas i want the odds and price data header = {'X-Application' : 'APP_KEY_HERE', 'X-Authentication':'SESSION_TOKEN'…
ade desmond
  • 432
  • 1
  • 8
  • 24
0
votes
1 answer

Type error making a betfair.py API call

I've just been moving some code over to a Ubuntu 16.04.2 anaconda setup, and am getting a type error I don't understand when calling code which works fine across numerous other machines. The error replicates for me just off of the list all tennis…
Philip
  • 157
  • 1
  • 10
0
votes
0 answers

Betfair NG API Navigation Application Menu error

I am trying to create a Betfair app written in VB.NET using Betfair NG API. I am trying to request the navigation menu in VB.NET utilizing the following instructions, here, but I get error 400 Bad request. Could someone send me a code for doing so?…
PanosK
  • 3
  • 3
0
votes
1 answer

Non-interactive api login after windows 10 update

I was using this method to login to betfair api. Everything works fine, but after Windows 10 update (KB3140741) not working anymore. ResponseText = {"loginStatus":"CERT_AUTH_REQUIRED"} Anyone solved this? Windows 10 Build 10586.218, version…
0
votes
2 answers

back/lays values just like on betfair site

while working on betfair api getMarketPricesCompressed and getMarketPrices return the real price and real amount of money for each odd in the market but not the virtual values showed by betfair. Have someone written such algorithm in php to…
Imran Naqvi
  • 2,202
  • 5
  • 26
  • 53
0
votes
1 answer

Add commas after each value in PHP Array

I am trying to store every competition id in the following function: function getSoccerByCountry($appKey, $sessionToken, $country, $competitionid) { $jsonResponse = sportsApingRequest($appKey, $sessionToken, 'listMarketCatalogue', '{"filter":{ …
Fombe F
  • 15
  • 1
  • 9
0
votes
0 answers

Curl C# Call using HttpClient

The Problem I need to make a cUrl call using C# to the Betfair API. The call is to try gain login access using currently registered details. The method im trying to use is described in the API documentation as an Interactive Login using the API…
Murray Hart
  • 181
  • 1
  • 13
0
votes
1 answer

Betfair Python API

My answer is quite specific to the Betfair API however I would like to know how to use more APIs in general. I'm quite new to this sort of thing so don't really know how it works. I've just downloaded this package:…
Lererferler
  • 287
  • 4
  • 19
0
votes
1 answer

Android Mobile App - is this a good use-case for Google Cloud Service?

I'm working on an Android mobile application which retrieves data from Betfair and displays the results. The Betfair API is basically a Web Service that returns JSON, and it's generic enough to return appropriate data based on customized input. Now…
S.D
  • 275
  • 2
  • 10
0
votes
1 answer

Using get_account_funds with betfair.py package

I am trying to use the get_account_funds method in the betfair.py package available at https://github.com/jmcarp/betfair.py. In the readme, there is example code which uses the list_event_types method and this runs perfectly for me, so my…
Liam Flynn
  • 2,009
  • 3
  • 17
  • 16
0
votes
1 answer

C# VS2012 Betfair web reference to wsdl

I am trying to connect to the betfair API using this address: https://api.betfair.com/global/v3/BFGlobalService.wsdl I have successfully done this for another gambling exchange with no problem at all. When I try and add the web reference VS tells…
Jpad Solutions
  • 332
  • 1
  • 12
0
votes
2 answers

Is it possible to perform a non interactive (bot) login for iphone without betfair SDK?

Non interactive login in betfair Is it possible to perform a non interactive (bot) login for iphone without betfair SDK?
Amit
  • 11
  • 1
  • 2