Metadata-Version: 2.1
Name: tinkoff-investments
Version: 0.2.0b15
Summary: 
Home-page: https://github.com/Tinkoff/invest-python
License: Apache 2
Author: Danil Akhtarov
Author-email: d.akhtarov@tinkoff.ru
Requires-Python: >=3.8,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: grpcio (>=1.39.0,<2.0.0)
Requires-Dist: protobuf (>=3.19.3,<4.0.0)
Requires-Dist: tinkoff (>=0.1.1,<0.2.0)
Project-URL: Repository, https://github.com/Tinkoff/invest-python
Description-Content-Type: text/markdown

# Tinkoff Invest

[![PyPI](https://img.shields.io/pypi/v/tinkoff-investments)](https://pypi.org/project/tinkoff-investments/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tinkoff-investments)](https://www.python.org/downloads/)

Данный репозиторий предоставляет клиент для взаимодействия с торговой платформой [Тинькофф Инвестиции](https://www.tinkoff.ru/invest/) на языке Python.

- [Документация](https://tinkoff.github.io/invest-python/)
- [Основной репозиторий с документацией](https://github.com/Tinkoff/investAPI)
- [Документация для разработчиков](https://tinkoff.github.io/investAPI/)

## Начало работы

<!-- termynal -->

```
$ pip install tinkoff-investments
```

## Возможности

- &#9745; Синхронный и асинхронный GRPC клиент
- &#9745; Возможность отменить все заявки
- &#9745; Выгрузка истории котировок "от" и "до"
- &#9744; Кеширование данных
- &#9744; Торговая стратегия

## Примеры

Примеры доступны [здесь](https://github.com/Tinkoff/invest-python/tree/main/examples).

```python
from tinkoff.invest import Client
from tinkoff.invest.token import TOKEN

with Client(TOKEN) as client:
    print(client.users.get_accounts())
```

Для запуска примеров, нужно добавить токен в переменную окружения.

<!-- termynal -->

```
$ export INVEST_TOKEN=YOUR_TOKEN
```

## Contribution

- [CONTRIBUTING](https://github.com/Tinkoff/invest-python/blob/main/CONTRIBUTING.md)

## License

Лицензия [The Apache License](https://github.com/Tinkoff/invest-python/blob/main/LICENSE).

