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.0b32.tar.gz (131.0 kB view details)

Uploaded Source

Built Distribution

tinkoff_investments-0.2.0b32-py3-none-any.whl (154.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinkoff-investments-0.2.0b32.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

Hashes for tinkoff-investments-0.2.0b32.tar.gz
Algorithm Hash digest
SHA256 88c0390b05ffe3e8ce6518d8f42bb3b0573df19e37d92d4a991d32c589d89d1f
MD5 c331d4f2cd80fdad9533a75136bae5cc
BLAKE2b-256 a561acf838f23e76fd3e985a75fb5d7f8bca66cbc8c8cc5bcdb7c2f462d25cef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tinkoff_investments-0.2.0b32-py3-none-any.whl
Algorithm Hash digest
SHA256 5278c21a09fad59a7c4e2f7835598ac56e496a4ea100642e5233850ba9345460
MD5 dab354ce070af8c0bd6ff317847cf6bb
BLAKE2b-256 39e8d6e7f83e170119fe5a1bb764279e514d0cfb9cd9eff9a81385891e3f84b3

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