Programme a betfair bot using betfair Financial markets and MT4
4534
£350(approx. $438)
- Posted:
- Proposals: 1
- Remote
- #102666
- Archived
Description
Experience Level: Expert
Job Spec
The task of the developer will be to build an automated bot that will specifically interact with the BETFAIR financials markets. The bot will use Betfair API to read from and relay information to the bot, which in turn will read information from MT4 (please see below) to make an informed decision whether to place a bet on the appropriate market. We are specifically looking at the FTSE and Wall Street 20 min financial markets.
The bot will need to follow a strict set of rules/criteria as to when it will place a bet. The bot will then have to close the position once a certain % of profit has been made. This will enable the BOT to LOCK IN profits regardless of how the eventual result/price of the market ends.
If you have any further questions, please enquire.
Betfair MT4/API Interface
Metatrader 4 (MT4) is trading software which gives us various forms of charts and indicators which can be used to analyse market prices.
We will use a program running on MT4 to generate signals for the bets we want to place with Betfair.
There are two main options for interfacing given that we’ll be running MT4 and the Betfair application on the same machine:
1) DLL direct interface
2) File interface
Option 1) is more complex though will be slightly quicker than option 2).
The DLL has to be written in C++. There are some details on the web on creating DLLs for MT4, for interest here are two links which describe the creation of a basic MT4 DLL:
http://www.metatrader.info/node/150
http://www.metatrader.info/node/152
It’s going to keep things simpler if we just use a file interface instead of a DLL to begin with.
The process will be as follows:
A Program on MT4 will run continuously and at the start of each new 20 minute betting period will generate a file.
This file will be created in one of the MT4 subdirectories:
C:\Program Files\Smart Live Spread Bet MT4\experts\files
The file will be called FTSE_Signals.csv and will be overwritten at the start of each 20 minute betting period.
The File will contain:
Market
Date DD/MM/YYYY
Separator ;
Time HH:MM:SS
Separator ;
Betting Period Start Time HH:MM
Separator ;
Signal 4 characters (“Up” or “Down”)
The API will start polling for this file at the start of each 20 minute betting period (or can continuously poll – which will allow us more flexibility in the future to send several signals in the same betting period).
A check should be performed in the API to check that the file date is the same as today’s date and that the file time is not older than 5 seconds from the current time.
Here’s an example of the file data:
29/09/2011;13:40:01;13:40;Down
The task of the developer will be to build an automated bot that will specifically interact with the BETFAIR financials markets. The bot will use Betfair API to read from and relay information to the bot, which in turn will read information from MT4 (please see below) to make an informed decision whether to place a bet on the appropriate market. We are specifically looking at the FTSE and Wall Street 20 min financial markets.
The bot will need to follow a strict set of rules/criteria as to when it will place a bet. The bot will then have to close the position once a certain % of profit has been made. This will enable the BOT to LOCK IN profits regardless of how the eventual result/price of the market ends.
If you have any further questions, please enquire.
Betfair MT4/API Interface
Metatrader 4 (MT4) is trading software which gives us various forms of charts and indicators which can be used to analyse market prices.
We will use a program running on MT4 to generate signals for the bets we want to place with Betfair.
There are two main options for interfacing given that we’ll be running MT4 and the Betfair application on the same machine:
1) DLL direct interface
2) File interface
Option 1) is more complex though will be slightly quicker than option 2).
The DLL has to be written in C++. There are some details on the web on creating DLLs for MT4, for interest here are two links which describe the creation of a basic MT4 DLL:
http://www.metatrader.info/node/150
http://www.metatrader.info/node/152
It’s going to keep things simpler if we just use a file interface instead of a DLL to begin with.
The process will be as follows:
A Program on MT4 will run continuously and at the start of each new 20 minute betting period will generate a file.
This file will be created in one of the MT4 subdirectories:
C:\Program Files\Smart Live Spread Bet MT4\experts\files
The file will be called FTSE_Signals.csv and will be overwritten at the start of each 20 minute betting period.
The File will contain:
Market
Date DD/MM/YYYY
Separator ;
Time HH:MM:SS
Separator ;
Betting Period Start Time HH:MM
Separator ;
Signal 4 characters (“Up” or “Down”)
The API will start polling for this file at the start of each 20 minute betting period (or can continuously poll – which will allow us more flexibility in the future to send several signals in the same betting period).
A check should be performed in the API to check that the file date is the same as today’s date and that the file time is not older than 5 seconds from the current time.
Here’s an example of the file data:
29/09/2011;13:40:01;13:40;Down
John H.
100% (9)Projects Completed
14
Freelancers worked with
12
Projects awarded
23%
Last project
26 Aug 2015
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies