# 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:

```bash
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.