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.5.0.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

ig_trading_lib-0.5.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

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

Hashes for ig_trading_lib-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1ac7738cc484a80376ee5cd71f8922196d36a63df75b641c85c483ce04618fb0
MD5 0f93e775aabacd99033fe4ca058b6e42
BLAKE2b-256 27d0312b6d6ec078c459a4d8a120dd857eb7475222c0e9d65e46f38eee43458b

See more details on using hashes here.

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

Hashes for ig_trading_lib-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27c9292180ca8d4f7f5629ca0fad6bb94e032ffef0431bd52c4f29391debadc7
MD5 004c45e6de63c9ae622b4117dd284599
BLAKE2b-256 d8dd1370d178c2f047278da6311f7346da6026e9df5da6137e4e716585513163

See more details on using hashes here.

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