Search the Community
Showing results for tags 'betfair api'.
Found 4 results
There are several betting exchanges – Betfair, Betdaq, Matchbook and Smarkets. All of them are based in the UK or Ireland. What does this mean for you? Be sure you have a good and stable internet connection to these countries if you want to trade there. 2.3.1. Latency Latency means how much time it takes to get data from the betting exchange to your computer and vice versa. Be sure your latency is stable. This is one of the most important things for me – stable latency. It doesn’t have to be super quick but it must be stable. When your latency is stable, it means you can read real-time data from the market and make decisions based on this data. On the other hand – if you have problems with latency, you can see old market data or you can experience your software lagging. All you need is stability – peace of mind that you can rely on your internet connection, that your bets will be placed quickly into the market and that you will not experience constant fear of your internet dropping out. I’ve traded all across the world (many countries in Europe, Central America, Asia and the Middle East) using the following types of internet connections – hotel Wi-Fi, 4G LTE mobile internet, fibre optics, cable lines, ADSL & VDSL. The best connection is fibre optics but all of them are acceptable. Before I start trading, I always perform a few tests with the connection. There is nothing worse than struggling with a slow and unstable internet connection when you need to close your trades. I always measure my latency on this website – www.pingtest.net (if the link doesn't work, try this). Test your connection to UK (London) or Ireland (Galway), which you can choose on the map, and click ‘Begin Test’: I usually choose London And this is my latency (ping) for London Line quality A is the best but B & C are also acceptable “Ping” is just another name for latency. If I’m trading on Betfair, everything below 250ms is acceptable. Jitter is a measurement of latency stability. The higher the jitter is, the worse the stability. In other words, jitter below 20ms means a stable connection. If it’s more than let’s say 100-150ms, I don’t trade because the connection wouldn’t be stable and I wouldn’t have peace of mind. High jitter adds to your latency, so if you have 200ms of latency, and another 150ms of jitter, it means you could reach a peak latency of 350ms. It’s still possible to trade with this internet connection, but obviously, the lower you can get the better. This is my latency to London from Central America The line quality was D but I was still able to trade from Central America When I was in Central America, I was able to trade with an internet connection similar to what you see above. What am I trying to say? It’s possible to successfully trade on Betfair from almost any country in the world, but always be sure your connection is stable. For example, when I was in Asia, most of the connections were rubbish and not acceptable for trading. If I remember well, Jitter was sometimes like 500ms. It’s always better to check in advance before you start trading. The better your connection is, the better you can read and react to the market! 2.3.2. Speed The top speed of the internet connection is not as important as latency, but it’s good to have enough capacity for the data going from the exchange to your computer and vice versa. I think anything above a 2Mbits download speed and 1Mbit upload speed is fine for trading. Maybe even less than this, but I haven’t seen slower connections for a long time. You can check your connection speed here – www.speedtest.net. You can also use Speedtest.net for measuring your ping (not jitter). Just choose your desired location and click 'GO': Changing a server on Speedtest.net Speed & ping results for desired server < PREV | HOME | NEXT >
In this window, you can monitor the connection status between the Geeks Toy and the betting exchange. Geeks Toy connects to the betting exchange through a set of different protocols and functions, which are collectively called API. Through the API, Geeks Toy connects to Betfair and Betdaq and retrieves data from them. This data is then displayed on your computer. When you place a bet in the program, this bet is sent from your computer via the API to the betting exchange, etc. The API is a bridge between you and the exchange, and is therefore very important for you to monitor. The Market & API Status window monitors the connection with the betting exchange. If the connection is somehow unstable, it will alert you so you can stop trading. Whatever the cause, it’s dangerous to trade with real money if you have an unstable connection with the betting exchange. Therefore, it would be better not to trade at all. Connection to the Exchange is okay – there are 11 data calls per second taking 53ms to complete. Connection to the exchange is unstable – there are 5 data calls waiting for a response, the longest of which has been waiting 1906ms In this box, there’s also a clock that shows the remaining time to the start of the event or time, or when in-play, how long since the event started. This window also has the Cash Out (Hedge) button. Once you click it, you’ll collect all of your winnings from the market or stop your losses. More precise information about the timekeeping & Cash Out method can be found in the user manual. < PREV | HOME | NEXT >
My Settings NEW.mp4 This window is very important because it contains a Hedge / Cash Out button, which I always use to finish my trading. It also contains information about my connection to Betfair. If it displays some errors, I immediately stop trading as fast as possible. Market & API Status menu API Refresh – Use this if you want to stop your internet connection with Betfair. I don’t use this feature but I can imagine it can be useful for people who have limited internet data connections (like mobile 4G), so they can stop and start loading data when needed. Show Book – These numbers describe how competitive prices are for the Back and Lay sides. The closer they are to 100%, the more competitive the prices are. Show API Info (1:23) – IMPORTANT. These numbers show if my connection to Betfair is stable or not. The first number shows how many data calls have been made to Betfair in the last second. The other number shows latency to the Betfair server. If there are any problems on the way, this window turns red and it means I should be very careful. If it’s frequently red, I immediately stop my trading because it’s dangerous and may leave me with an open position in the market and the impossibility to Hedge / Cash Out. A previous Betfair crash cost me several thousand pounds, so I take this very seriously. API Error Threshold > 500 (1:25) – If my computer gets data from Betfair that lasts any longer than 500ms, the ‘Show API Info’ window will turn red. This informs me if there’s a problem with my internet connection or Betfair API. If necessary, I stop trading. Bet Error Display > This Window – If there are any errors (like with processing bets), they’ll be displayed here and not in a pop-up window. Retain Error Messages For > 5 Seconds – Self-explanatory. < PREV | HOME | NEXT >
My Settings NEW.mp4 In this window, you can customize your connection to the Betfair server. It’s essential for my trading to have proper settings here. There are various options how to use this window. For example, when I travel and have a slower connection (like mobile 4G), I reduce some values so my internet connection can handle all the data I need for trading. When I have a very fast line like fibre optic, I set the values to maximum. API Settings Manager window I use (5:46) the following settings: Use Streaming When Available – Accessible via the menu and it’s basically the fastest way to get data from Betfair since data is streamed to your computer in small batches. Max Weighted Calls Per Second > 40 – I never go more than let’s say 25, so there’s still enough room left. However, if you want to trade more markets at once, be sure you increase this number because you will download more data from Betfair. I only trade 1 race at a time, so it’s enough for me. Bets > 200ms > MPC 5 – MPC means ‘Maximum Parallel Calls’. If a data call to Betfair is lost, it will make up to 5 additional calls to get the data. It ensures Geeks Toy keeps running smoothly. Prices > 20ms > MPC 5 – I want to see the current prices as fast as possible. Complete Prices in Hybrid Mode – I don’t use ‘Hybrid’ mode. Traded Volume > 1,000ms > MPC 1 – This is not as important as ‘Bets’ & ‘Prices’, so the values are a little bit slower in order to not take up too much of my internet bandwidth. External Bets > 10,000ms > MPC 1 – Bets placed via the Betfair website, for example. I usually don’t place bets other than from Geeks Toy, so I don’t need quick data updates here. Account Funds > 60,000ms > MPC 1 – Self-explanatory. Live Scores > 1,000ms > MPC 1 – There are no live scores on Horse racing. < PREV | HOME | NEXT >