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

Uploaded Source

Built Distribution

tinkoff_investments-0.2.0b30-py3-none-any.whl (151.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tinkoff-investments-0.2.0b30.tar.gz
Algorithm Hash digest
SHA256 f90f67230bd79491509c787a0802f67a49b7731aaab2ad00b786aa5a29f3fe48
MD5 0b2c41d2c2d4fe0675db666e208a7f76
BLAKE2b-256 13befa5462a8cbf90587036e688c349e4e3980e1a8fff78e98939d97a64fd7e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tinkoff_investments-0.2.0b30-py3-none-any.whl
Algorithm Hash digest
SHA256 9b60659e918df0ada4ecd1440f10d93bb690a470d13899346cac78aca7b604a4
MD5 1ce056b37560d198ae8bf768c9ca9f98
BLAKE2b-256 480a9a7acaec1b5b7341913080873a50ecbcbb70cf5e784babf03ae3aff9c6e8

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