Tinkoff / invest-python

Tinkoff Invest Python gRPC client
https://tinkoff.github.io/invest-python/
Apache License 2.0
319 stars 90 forks source link

docs(examples): add new example for takeprofit stop order #185

Closed WISEPLAT closed 1 year ago

WISEPLAT commented 1 year ago

Привет всем! Хотелось бы добавить в примеры создание тэйк-профит стоп ордера и отмену стоп ордеров. Прошу рассмотреть и подтвердить. Спасибо!

WISEPLAT commented 1 year ago

1) CI Tests/Lints / build-windows (pull_request) Failing after 3m. My files - is OK, failed on others. 2) CI Tests/Lints / build-ubuntu (pull_request) Failing after 1m. My files - is OK, failed on some reformat. Please see these files and approve them. Thanks.

P.S. I have more examples that I will add after you approve these. )))

daxartio commented 1 year ago

Добавь плиз в docs эти скрипты

WISEPLAT commented 1 year ago

Добавь плиз в docs эти скрипты

Добавил.

daxartio commented 1 year ago
poetry run black --line-length=88 --exclude=tinkoff/invest/grpc --check tests tinkoff examples scripts
# would reformat examples/wiseplat_cancel_all_stop_orders.py
# would reformat examples/wiseplat_create_take_profit_stop_order.py
WISEPLAT commented 1 year ago
poetry run black --line-length=88 --exclude=tinkoff/invest/grpc --check tests tinkoff examples scripts
# would reformat examples/wiseplat_cancel_all_stop_orders.py
# would reformat examples/wiseplat_create_take_profit_stop_order.py

пофиксил

daxartio commented 1 year ago

Отличная работа, спасибо!