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:

68 questions
11
votes
3 answers

Does not contain a definition for and no extension method accepting a first argument of type could be found

I've looked around at some of the solutions to this problem but they don't seem to be the same as what I'm experiencing. Method that I'm trying to call: namespace BetfairAPI { public class CBetfairAPI { public ArrayList…
Savino
  • 196
  • 1
  • 1
  • 10
6
votes
3 answers

Does anyone have c# code to use betfair api?

I am creating a c# windows app to display current sports market rates using betfair exchange webservice, I used the getmarketpricescompressed() method which returns a price string that looks like…
Samy S.Rathore
  • 1,665
  • 3
  • 25
  • 43
5
votes
2 answers

Writing a C++ SOAP (multithreaded) client application - without gSOAP

I am writing a multithreaded C++ (Linux) SOAP client to interface with the Betfair API. I initially tried to get to grips with gSOAP but I simply cannot get it to work properly using multiple WSDL files so that I have temporarily abandoned that. I…
mathematician1975
  • 20,311
  • 6
  • 52
  • 93
4
votes
2 answers

Cannot retrieve session key from Betfair WebAPI c#

I have been trying to log in to a Betfair account following these steps and using this source code. This works fine and I am returned a session key, however if I try to repeat the steps to get a session key in another project I receive a…
mark_h
  • 4,306
  • 3
  • 29
  • 42
4
votes
1 answer

How do I tell if libcurl has processed my SSL files correctly

I am trying to login to betfair via the betfair api using curl. I have already succeeded in doing this via the command line version of curl from a bash script but I now want to do this from my C++ code directly with libcurl. Sadly libcurl is not…
Mick
  • 7,929
  • 20
  • 73
  • 162
4
votes
3 answers

cron after every 15 sec

I cannot set cron time to less than 1 minute even on my dedicated server. I need it to run every 15 seconds because it calls betfair api and calculations are highly time dependent. Please advise.
Imran Naqvi
  • 2,102
  • 4
  • 25
  • 51
3
votes
3 answers

Is there a way to break out of a LINQ SELECT on completion of a custom WHERE Clause

I have a LINQ statement that uses a custom function to find certain matching data in a compressed string. There is only ever one match and if I had done a FOR loop I would have added a "break" once the data had been found. However using LINQ it…
Monkey Magix
  • 135
  • 2
  • 3
  • 10
3
votes
1 answer

time difference between my and betfair server

There is about 38-40 seconds difference between my and betfair server time. I don't want to use some dec/inc in my time to manage.i want to be sync with betfair server time. Please Help.
Imran Naqvi
  • 2,102
  • 4
  • 25
  • 51
3
votes
1 answer

Define elasticsearch mapping for a dictionary coming from the remote api

I am fetching marketcatalogue data from betfair api-ng and I want to store it in to elasticsearch (v1.4.4). The data coming from API contains lot of properties and complex types. There is a complex type named runners which contains related data and…
Syed Fasih
  • 148
  • 3
  • 12
3
votes
3 answers

Betfair like Odds increment and decrement

Please help me it is very irritating. Don't know why my logic is failed every time. I am trying to make Betfair like odds increment in my web project. Betfair have it's own price group which can be found here LINK: …
sen32653
  • 124
  • 7
3
votes
1 answer

Unable to login with SSL certificate using C++, Qt and Betfair API-NG

I am in the process of writing a new Betfair bot in C++ using Qt but I am falling at the first hurdle with the login process. After a lot of reading around I decided to use QNetworkAccessManager and this is what I currently have: int main(int argc,…
mathematician1975
  • 20,311
  • 6
  • 52
  • 93
3
votes
3 answers

accessing betfair API to get horse prices

I would like to access certain content on betfair.com, I have been looking over the Betfair API documentation but I have no idea how to create Application Keys and sessionToken's I want to be able to go through the horseracing pages and get…
Padraic Cunningham
  • 160,756
  • 20
  • 201
  • 286
2
votes
2 answers

Betfair Tcl login script

I'm trying to use the following tcl script to login into betfair non-interactively:- #!/usr/bin/env tclsh package require TclCurl set postData "username=xxxxxxxxx&password=yyyyyyyyy" set postHeader [list "X-Application: curlCommandLineTest"] set…
user1062524
  • 63
  • 1
  • 5
2
votes
0 answers

Betfair - Result After Match Completion

I have implemented Betfair PHP API for my Site, I fetch all Matches and Its running Odds using Developer Program Betfair. I am facing problem, with fetching result of particular selection from particular market on match completion. Is there any API…
Mayank Majithya
  • 1,576
  • 11
  • 20
2
votes
1 answer

socket.gaierror: [Errno 11004] getaddrinfo failed,django

I am trying create a Betfair interactive login following this [tutorial ][1] and i keep on getting and error my app_key is correct and my username and password also correct but i think i am not getting hoe to set it to work correctly please any help…
ade desmond
  • 298
  • 1
  • 2
  • 18
1
2 3 4 5