-
Hello. I try to add function 'get_order_book' to the client, but get error "TypeError: bad argument type for built-in operation". and i call it: order_book = await client.get_order_book(figi=[self.figi], depth=50) Regards, |
Beta Was this translation helpful? Give feedback.
Answered by
qwertyo1
Aug 14, 2023
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
qaplok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello sir!
I am unable to check it right now. I will try it tomorrow.
But as a quick response I can send this screenshot of the documentation. It does not expect figi as an array. Also, figi parameter is deprecated and you should use instrument_id.
Best regards,
Vladimir