Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Нет order_id в методе переставления заявок ‎OrdersService.replace_order() #63

Open
maxim717161 opened this issue Feb 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@maxim717161
Copy link

Что случилось?

def replace_order(self, request: ReplaceOrderRequest) -> PostOrderResponse:

Выставление заявок падает с ошибкой:

OrdersService.replace_order() got an unexpected keyword argument 'order_id'

В protobuf-файлах поле есть
string order_id = 6 [(google.api.field_behavior) = REQUIRED]; //Идентификатор заявки на бирже.

в доке по методу поле есть https://russianinvestments.github.io/investAPI/orders/#replaceorderrequest

в коде метода поля нет

Воспроизведение

Tinkoff Invest Version

0.2.0-beta109

Python Version

3.11

OS

Windows

Логи

@maxim717161 maxim717161 added the bug Something isn't working label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant