Betfair API-NG

Post Reply
User avatar
jimibt
Posts: 4193
Joined: Mon Nov 30, 2015 6:42 pm

api gone?? 17:05 Good??

[edit] - ignore -settings :)
ricardodeano
Posts: 205
Joined: Tue Oct 06, 2015 2:03 pm

I think it's playing up jimibt
JayBee
Posts: 46
Joined: Wed Nov 10, 2010 11:26 am

No, I can guarantee that anyone requesting a live key from now on, regardless of when they opened their account will have to pay £299. In that respect it is retrospective.

I have a contact in Betfair on the BDP team and he confirmed it to me to day.

It was further confirmed yesterday by a purchaser of Programming for Betfair with a ten year old Betfair account who tried to get a live AppKey yesterday but it was disabled.
spreadbetting wrote:I think it's only for accounts opened after 10 May 2016 not retrospectively charged.

Most internet and forum searches use the minus sign to exclude terms so I'd guess typing in "API-NG" would probably translate to search for "API" but not NG in the post, plus forums don't like to search for short terms under a certain amount of letters so API is probably overlooked too :)
LinusP
Posts: 1917
Joined: Mon Jul 02, 2012 10:45 pm

http://docs.developer.betfair.com/docs/ ... ew/4391608

Roadmap has been updated, new betting types look interesting (fill kill) also the ability for web apps by the end of the year!
User avatar
jimibt
Posts: 4193
Joined: Mon Nov 30, 2015 6:42 pm

Hi all,

I've been searching in vain thro' the core api docs (and gitHub base code) for info regarding transferring funds from the UK to the AUSSIE wallet via the api.

The use case here is that I want to finally leave my BA bot running unattended and would like to monitor the funds inside the UK wallet on a long poll basis so that I can transfer the funds to the AUSSIE wallet once a certain profit or loss figure is reached, thus allowing me to keep the bot going irrespective (as it can't place trades if the funds have been moved).

I'm using .net (c#) and am on top of all the other functionality on offer, just this one gotcha that's preventing me from leaving operations to run unattended.

Hope it's an easy one that I've just over looked.

cheers
jim
spreadbetting
Posts: 3140
Joined: Sun Jan 31, 2010 8:06 pm

It' listed under transferFunds on the accounts API

http://docs.developer.betfair.com/docs/ ... nsferFunds

I've never needed to use it myself though.
User avatar
jimibt
Posts: 4193
Joined: Mon Nov 30, 2015 6:42 pm

spreadbetting wrote:It' listed under transferFunds on the accounts API

http://docs.developer.betfair.com/docs/ ... nsferFunds

I've never needed to use it myself though.
perfect, how did i miss that :D - much appreciated
LinusP
Posts: 1917
Joined: Mon Jul 02, 2012 10:45 pm

I have something that does exactly this, logs to a db (via an api now 8-) ) also to Dropbox so that I can see day to day profit without logging into numerous accounts.
User avatar
jimibt
Posts: 4193
Joined: Mon Nov 30, 2015 6:42 pm

LinusP wrote:I have something that does exactly this, logs to a db (via an api now 8-) ) also to Dropbox so that I can see day to day profit without logging into numerous accounts.
thanks for the heads up - I've now implemented this in c# and have run the unit tests and all fine. it's definitely the *safe* way to do bot biz I feel. and agreed, duplication of logins is such a gross waste of time (plus recording into a db for auditing a must).

take care - jim

[edit] - in my case, will be checking day to day profit OR [@&^$£] ;)
LinusP
Posts: 1917
Joined: Mon Jul 02, 2012 10:45 pm

Latest changes to placeOrders enables bets below £2 as long as the payout is above £10 along with the implementation of betTargetType & betTargetSize.

http://docs.developer.betfair.com/docs/ ... ugust+2016
LinusP
Posts: 1917
Joined: Mon Jul 02, 2012 10:45 pm

LinusP wrote:Latest changes to placeOrders enables bets below £2 as long as the payout is above £10 along with the implementation of betTargetType & betTargetSize.

http://docs.developer.betfair.com/docs/ ... ugust+2016
Also customerStrategyRef to be added to placeOrders although looks like it is only for the streaming API.

http://docs.developer.betfair.com/docs/ ... laceOrders
xitian
Posts: 457
Joined: Fri Jul 08, 2011 2:08 pm

Thanks for the heads-up on that one.

Anyone else using the Streaming API yet? I've converted one of my in-play strategies. Can't say it's had a massive positive impact on the strategy as far as I can tell. Guess it's still technically a better way to do things though.
Wainwright
Posts: 108
Joined: Mon Jan 23, 2012 1:10 pm

Yes thanks for pointing out the API changes, hadn't spotted those. Against the background of the Paddy Power merger/sportsbook etc, it's good to see that BF are still putting the effort into making genuinely useful enhancements on the exchange (worth being extra vigilant on Monday just in case the release doesn't go well though !!)

I did some side by side testing of streaming vs 200ms polling (data & orders) and was happy that streaming consistently provided more timely updates and was a deal more efficient in terms of processing at the client end, so I've been running it live with all strategies for the past couple of weeks.

Too early to tell how much of a difference it'll make.
PeterLe
Posts: 3724
Joined: Wed Apr 15, 2009 3:19 pm

Gents
Thanks for keeping us updated about this.
Id be keen to know if you think this modification, is beneficial and worth the effort to alter the code*
(im mainly running my programs for in play strategies and are very much time dependant)
Thanks in advance
Regards
Peter

* = Incidenatally,just how involved is it to alter an existing program and to convert to the streaming version?
I can alter bits of code myself and then republish, but Id probably get my programmer to do this for me. Thanks
LinusP
Posts: 1917
Joined: Mon Jul 02, 2012 10:45 pm

If you had gone down the python route you could have used my library ;)

https://github.com/liampauling/betfairlightweight

Streaming is still in testing for me but it has dramatically reduced the load on my instances. I am able to subscribe to all markets on a nano instance on aws with minimal latency when analysing tick to trade.

Peter I would have thought the min bet size reduction is something you, like me will be looking to take advantage of :D
Last edited by LinusP on Fri Nov 04, 2016 8:10 pm, edited 1 time in total.
Post Reply

Return to “Betfair Exchange API”