Tinkoff / invest-python

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

docs: stop order example #235

Closed irusland closed 12 months ago

irusland commented 1 year ago

Пример для #234

INFO:__main__:Using Real market
INFO:tinkoff.invest.logging:64a27c8961b5ec226936bf6a873bfc96 GetAccounts
INFO:__main__:Placing order for 1 security of BBG001M2SC01, with order_id=78556afc8a0648d790a6ba99bb3d7b85
INFO:tinkoff.invest.logging:0c490516df6e14108e43552c573e8efc PostOrder
INFO:__main__:Order was fulfilled, posting stop orders.
INFO:tinkoff.invest.logging:1528c99730023e147fe3a2d55228bf73 PostStopOrder
INFO:__main__:Take profit order was placed stop_order_id=98a492f4-77d6-4107-8f79-b3b1501dfbce. Price: 88.94000000000000185143567144
INFO:tinkoff.invest.logging:6831b362b9e1ea519be6187f994aedb7 PostStopOrder
INFO:__main__:Stop loss order was placed stop_order_id=93ca8a6d-820c-48bd-b87b-c4d8dd091317. Price: 83.02000000000000172820091571

IMG_8165

daxartio commented 1 year ago

Давай "docs: add stop order example"

Все таки фичи никакой нет в либе