Skip to main content

No project description provided

Project description

Tinkoff Invest

PyPI PyPI - Python Version

Данный репозиторий предоставляет клиент для взаимодействия с торговой платформой Тинькофф Инвестиции на языке 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.0b29.tar.gz (128.0 kB view details)

Uploaded Source

Built Distribution

tinkoff_investments-0.2.0b29-py3-none-any.whl (151.0 kB view details)

Uploaded Python 3

File details

Details for the file tinkoff-investments-0.2.0b29.tar.gz.

File metadata

  • Download URL: tinkoff-investments-0.2.0b29.tar.gz
  • Upload date:
  • Size: 128.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-1023-azure

File hashes

Hashes for tinkoff-investments-0.2.0b29.tar.gz
Algorithm Hash digest
SHA256 bb0edf21bde57871d1813b0a64751552598b87b906629b961e465b1512527166
MD5 10e73dba91d1354635a71f688338a042
BLAKE2b-256 845acdfb6faab0bfa3863e521f441d2b45804a79c89a259c13eac49fa3fd5442

See more details on using hashes here.

File details

Details for the file tinkoff_investments-0.2.0b29-py3-none-any.whl.

File metadata

File hashes

Hashes for tinkoff_investments-0.2.0b29-py3-none-any.whl
Algorithm Hash digest
SHA256 488051f4710fc14a715dea3e12743374a026ee65e92ed19f6252f2e9a64d1bdc
MD5 947435090d19873ccc04ccdd403e9f73
BLAKE2b-256 22b2f612cf4ba3399e87c659bf264ff9a85de0d2c21880ed2f48228b46e40233

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page