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.0b28.tar.gz
(125.4 kB
view hashes)
Built Distribution
Close
Hashes for tinkoff-investments-0.2.0b28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4065a65d994eb8a3e0cf7adf2600e366c0e68c128154372911b93912a74f46e6 |
|
MD5 | 62c84826508852951a3f0f0d73ff8e8b |
|
BLAKE2b-256 | a6ba759ed19aca2cf386db64e56f2f8d1494d16698675ce693e1c48f3d507c81 |
Close
Hashes for tinkoff_investments-0.2.0b28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c92699e6032a55efc8a6e24e8b7971aa86eb8a0c58fa78d7e72d2ae59e761b |
|
MD5 | fde51c6739455022052178c05d2ab307 |
|
BLAKE2b-256 | 75085f667c791984406acba0f4ad94219e9d00e0d45bf65d258f4dd8846d1c21 |