
Python API with IG.com trading script
- or -
Post a project like this1791
£100(approx. $134)
- Posted:
- Proposals: 4
- Remote
- #2822261
- Awarded
Description
Experience Level: Expert
Estimated project duration: 1 day or less
Hi,
I am an intermediate user of Python, but do not know how to interface IG.com's API with Python. I have compiled some simple code (attached) to connect to the IG.com API (https://labs.ig.com/gettingstarted), but now need help to further develop the code to:
1. Request and pull price information from the IG REST API (https://labs.ig.com/rest-trading-api-guide) and store this information in a Pandas data frame.
2. Show me how to operate the four operators (GET - retrieve a resource, PUT - replace a resource, POST - create a resource and DELETE - delete a resource). I will need to create and cancel orders using the IG REST API.
3. Setup and get the IG streaming API working, to constantly grab and store the latest price information into the dataframe for particular instruments. (https://labs.ig.com/streaming-api-guide)
There have been a number of different libraries built by others to carry out the above, namely: https://github.com/tg12/FAIG and https://github.com/ig-python/ig-markets-api-python-library - however, I cannot get these to work reliably. I, therefore, want some simple and easy to use/easy to understand code to allow me to log in, grab prices and store in a DF, stream prices to keep the DF up-to-date and then create and cancel orders.
It is important to me that this code is simple and not overly complex, as I would like to fully understand every line and what it's doing. I will also need the code to be fully annotated, with all lines of code explained in full.
For reference, I use the latest version of Spyder and Python 3.7.4.
I will need the winning developer to create a new shared demo account (which will be shared with me) on IG.com and get all the above functionality working.
If I find the programmer is good and enjoyable to work with, there will be more work further developing this to assist with automating some of the orders and analysis.
I am an intermediate user of Python, but do not know how to interface IG.com's API with Python. I have compiled some simple code (attached) to connect to the IG.com API (https://labs.ig.com/gettingstarted), but now need help to further develop the code to:
1. Request and pull price information from the IG REST API (https://labs.ig.com/rest-trading-api-guide) and store this information in a Pandas data frame.
2. Show me how to operate the four operators (GET - retrieve a resource, PUT - replace a resource, POST - create a resource and DELETE - delete a resource). I will need to create and cancel orders using the IG REST API.
3. Setup and get the IG streaming API working, to constantly grab and store the latest price information into the dataframe for particular instruments. (https://labs.ig.com/streaming-api-guide)
There have been a number of different libraries built by others to carry out the above, namely: https://github.com/tg12/FAIG and https://github.com/ig-python/ig-markets-api-python-library - however, I cannot get these to work reliably. I, therefore, want some simple and easy to use/easy to understand code to allow me to log in, grab prices and store in a DF, stream prices to keep the DF up-to-date and then create and cancel orders.
It is important to me that this code is simple and not overly complex, as I would like to fully understand every line and what it's doing. I will also need the code to be fully annotated, with all lines of code explained in full.
For reference, I use the latest version of Spyder and Python 3.7.4.
I will need the winning developer to create a new shared demo account (which will be shared with me) on IG.com and get all the above functionality working.
If I find the programmer is good and enjoyable to work with, there will be more work further developing this to assist with automating some of the orders and analysis.

Cairan V.
100% (3)Projects Completed
3
Freelancers worked with
3
Projects awarded
40%
Last project
4 Mar 2022
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