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.0b35.tar.gz
(146.0 kB
view hashes)
Built Distribution
Close
Hashes for tinkoff-investments-0.2.0b35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c11184f5415c05bd640ff72e47ee7231310d54f13722b19e21a87b332d52fb |
|
MD5 | 79018bb0f8425b1467a28efe92ff830f |
|
BLAKE2b-256 | fcad06f4964979d0a3451ef63a4b59d7e581eb4aff07f51d0cd7e04b92f3b83f |
Close
Hashes for tinkoff_investments-0.2.0b35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1ecab98b08958e38a16818a61bb5d7241dc730ad664e209eca4f9d74113bccc |
|
MD5 | dfdce48df09cb3faa8765a07d45f7338 |
|
BLAKE2b-256 | 3fa156033914e56bc6f8028fcfd4ecacff7730c2a493ec803da7980d2521e86c |