Skip to main content

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

ig_trading_lib-0.2.0.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

ig_trading_lib-0.2.0-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page