Skip to main content

T-Technologies Public Invest Autofollow SDK

This project has been quarantined.

PyPI Admins need to review this project before it can be restored. While in quarantine, the project is not installable by clients, and cannot be being modified by its maintainers.

Read more in the project in quarantine help article.

Project description

T-Tech Autofollow SDK

Данный репозиторий предоставляет клиент для взаимодействия ведущих стратегий автоследования с API Т-Инвестиций на языке Python.

Начало работы

$ pip install t-tech-autofollow

Возможности

  • REST клиент;
  • получить список инструментов, доступных для автоследования;
  • получить список стратегий автора;
  • создать новый сигнал;
  • создать отложенный сигнал;
  • получить позицию портфеля для заданной стратегии;
  • получить активные и отложенные сигналы;
  • снять активные и отложенные сигналы.

Как пользоваться

Получить список стратегий автора

from ttech_autofollow import Client

TOKEN = 'token'

with Client(access_token=TOKEN) as client:
    print(client.strategy_api.get_autofollow_strategies())

:warning: Не публикуйте токены в общедоступные репозитории

Один из вариантов сохранения токена - использование environment variables.

Остальные примеры доступны в examples.

License

Лицензия The Apache License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

t_tech_autofollow-1.0.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

t_tech_autofollow-1.0.0-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

Details for the file t_tech_autofollow-1.0.0.tar.gz.

File metadata

  • Download URL: t_tech_autofollow-1.0.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for t_tech_autofollow-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0bb1cc839fe10728a682428ecc5c4f6cb5057677e88707870ee32e474b52a4f7
MD5 519c09f67bca69cc59be33d2112a0397
BLAKE2b-256 4f653f18f4f04d80aeace3f0b13430c75553bb40a9ea789a5132608004789af1

See more details on using hashes here.

File details

Details for the file t_tech_autofollow-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: t_tech_autofollow-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 59.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for t_tech_autofollow-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bee4991131ad1f01e267ce53e37b3cdebe9d3aecae80e21a76a54d98786ad3a
MD5 be3a0324294a1eda4789f1017c88fb1a
BLAKE2b-256 3cafa6f6d0e0ae71ef5c5a92a16313292bd311116954c967a55b220a95b5485c

See more details on using hashes here.

Supported by

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