A Python library for IG Trading.
Project description
IG Trading Library
This is a Python library designed to interface with the IG Trading platform. It provides a straightforward and Pythonic way to interact with the IG Trading API, allowing for the automation of trading tasks, management of accounts, access to market data, and more.
Prerequisites
- Python 3.9
- make
Modules
The project consists of several modules:
authentication
: This module handles authentication with the IG Rest API.trading
: This module provides functionalities for trading operations. Currently, it includes methods for getting positions.
Running the Tests
The project contains several tests to ensure its functionalities work as expected. To run the tests, use the following command:
make test
Features
- Authentication: The project includes an
AuthenticationService
class that handles authentication. - Trading: Work in progress.
Contributing
Contributions are welcome. Please feel free to fork the repository and create a pull request.
License
This project is licensed under the MIT License.
Contact
If you have any questions, feel free to reach out to me on GitHub.
Disclaimer
This library is not affiliated with, authorized, endorsed, or in any way officially connected with IG Markets Ltd. Use at your own risk.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ig_trading_lib-0.5.0.tar.gz
.
File metadata
- Download URL: ig_trading_lib-0.5.0.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ac7738cc484a80376ee5cd71f8922196d36a63df75b641c85c483ce04618fb0 |
|
MD5 | 0f93e775aabacd99033fe4ca058b6e42 |
|
BLAKE2b-256 | 27d0312b6d6ec078c459a4d8a120dd857eb7475222c0e9d65e46f38eee43458b |
File details
Details for the file ig_trading_lib-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: ig_trading_lib-0.5.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27c9292180ca8d4f7f5629ca0fad6bb94e032ffef0431bd52c4f29391debadc7 |
|
MD5 | 004c45e6de63c9ae622b4117dd284599 |
|
BLAKE2b-256 | d8dd1370d178c2f047278da6311f7346da6026e9df5da6137e4e716585513163 |