Skip to content

ryanmaugv1/iglib-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IGLIB-PY

Unofficial Python IG REST API Client.

This library stems from one of my own projects which I decided to rip out the client code and open-source.

It provides a variety of useful things, such as:

  • IG Client (ig_client.py)
    • Robust implementation of IG REST client including most of the fundemental and core endpoints (found here).
    • Feel free to contribute your implementation of unsupported endpoints or improve test.
  • Data Wrappers (wrappers/...)
    • Custom data wrappers for common IG response objects e.g. IGAccount, IGWatchlist, IGPosition etc.
  • Utility Classes (utility/...)
    • Utilities which make working with library and IG objects easier.

Installation

  1. Ensure Python Version >= 3.
  2. Install Library Dependancies.
    • pip install jsonpickle requests
  3. Clone Repository.
    • git clone https://github.com/ryanmaugv1/iglib-py
  4. Move into project directory.
  5. Update constants with your own app Key, ID, Password and Account IDs.
    • Edit constants in utility/constants.py.
  6. Import client (ig_client.py) like you would any other local module.
  7. Done.

Author

Ryan Maugin (@ryanmaugv1)

ryanmaugv1@gmail.com

Releases

No releases published

Packages

No packages published

Languages