No project description provided
Project description
Tinkoff Invest
Данный репозиторий предоставляет клиент для взаимодействия с торговой платформой Тинькофф Инвестиции на языке Python.
Начало работы
$ pip install tinkoff-investments
Возможности
- ☑ Синхронный и асинхронный GRPC клиент
- ☑ Возможность отменить все заявки
- ☑ Выгрузка истории котировок "от" и "до"
- ☐ Кеширование данных
- ☐ Торговая стратегия
Как пользоваться
Получить список аккаунтов
from tinkoff.invest import Client
TOKEN = 'token'
with Client(TOKEN) as client:
print(client.users.get_accounts())
Переопределить target
from tinkoff.invest import Client
from tinkoff.invest.constants import INVEST_GRPC_API
TOKEN = 'token'
with Client(TOKEN, target=INVEST_GRPC_API) as client:
print(client.users.get_accounts())
:warning: Не публикуйте токены в общедоступные репозитории
Остальные примеры доступны в examples.
Contribution
License
Лицензия The Apache License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tinkoff-investments-0.2.0b31.tar.gz
(131.0 kB
view details)
Built Distribution
File details
Details for the file tinkoff-investments-0.2.0b31.tar.gz
.
File metadata
- Download URL: tinkoff-investments-0.2.0b31.tar.gz
- Upload date:
- Size: 131.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06440159d80ee3812cd65164a2bcc0602f04cc9c4879e1d2de77447041d2ff08 |
|
MD5 | 78e05c848866eff69f8ddb8659a94793 |
|
BLAKE2b-256 | b1c461509cf10e75a6124035f603522d5326b2d9272ceaaa20a857d28676b123 |
File details
Details for the file tinkoff_investments-0.2.0b31-py3-none-any.whl
.
File metadata
- Download URL: tinkoff_investments-0.2.0b31-py3-none-any.whl
- Upload date:
- Size: 154.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f88cfead226911d4510a20a2d7605d88a0f54b38faa15028f5e9f3b7b4e52f42 |
|
MD5 | 2d5dab882e4449bca35832d2a28241e4 |
|
BLAKE2b-256 | f56f41416ba54478f56be2a1cde79d36fbd6675d822f00ab2090fb1721aac6bf |