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.1.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.1-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttech_autofollow_sdk-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5bd4864c5ca6c126ae0a440b771fbd40e849db33702611be28789230e8834055
MD5 72be9537e928941cc7528289b1d6e040
BLAKE2b-256 f8ba75d9a3f08bb984b07a21c9735e0445cb734261ab2845f4280fb3a3f138c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ttech_autofollow_sdk-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19bcdd27af5ab2f19b5629d42c66d3d7ba6b232d879779d8d0e35b9bc5c2a766
MD5 8d86cfcb2850026e17746ef6fb43b789
BLAKE2b-256 7ff02a83cc032f8651991a5871c9a687cd742a1799549f13e0d56fc47f714d7e

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