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

PyPI PyPI - Python Version GitHub

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

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

$ pip install ttech-autofollow-sdk

Возможности

  • 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

ttech_autofollow_sdk-1.0.2.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.

ttech_autofollow_sdk-1.0.2-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

Details for the file ttech_autofollow_sdk-1.0.2.tar.gz.

File metadata

  • Download URL: ttech_autofollow_sdk-1.0.2.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 ttech_autofollow_sdk-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3861e4a8f9f4d15dc4da952efc781145967758a86dab8c0a9a7772b583498eb9
MD5 af18beafed42d27ec3060659224033e5
BLAKE2b-256 1c33329178c02562299362c484c662c05fec4f3ee424932de164e6f8ff4ae8ae

See more details on using hashes here.

File details

Details for the file ttech_autofollow_sdk-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: ttech_autofollow_sdk-1.0.2-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 ttech_autofollow_sdk-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8c7fd4e5aed2b30fe2cc7dd9efe88f142bb5099609f294a4edc737f9d1ce123
MD5 a110fe138f805352dc3a187931c18644
BLAKE2b-256 10d5c55dab825fc086db063d201cb1ac9bf53a51539be72e7f1a3734e7292b7c

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