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

Uploaded Source

Built Distribution

tinkoff_investments-0.2.0b33-py3-none-any.whl (159.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinkoff-investments-0.2.0b33.tar.gz
  • Upload date:
  • Size: 136.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.8.10 Linux/5.15.0-1014-azure

File hashes

Hashes for tinkoff-investments-0.2.0b33.tar.gz
Algorithm Hash digest
SHA256 578a6b09e804fe6e3f86e25eab46017ee71b29b63a113347681c39e8e5c77f5d
MD5 5db562a8c59e8dd3a6064b9508e1c2d7
BLAKE2b-256 ccf482cf4204a9ebb76bc8ff1a36853a418159b6d27aaf1afeb24c9557ef7453

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tinkoff_investments-0.2.0b33-py3-none-any.whl
Algorithm Hash digest
SHA256 5f3a8a5684a419864e44945c5044706a156e18087cfcd7a79d4fca2dc774850f
MD5 531f232fa3c5cc105f677e0aa2956cc5
BLAKE2b-256 4529e43c661e074d9f75c7baeb54d603c6610f90f9a1673fe74b013685528242

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