OpenBB-finance / OpenBB

Investment Research for Everyone, Everywhere.
https://openbb.co
Other
34.16k stars 3.14k forks source link

unbound variable #5674

Closed likecodingloveproblems closed 1 year ago

likecodingloveproblems commented 1 year ago

Describe the bug If exception raised in client.get_order_book it crash as market_book is not defined!

To Reproduce Every thing to make BinanceApi raise exception,

Additional context I was reading your code, and find it as a developer, not the user :) So maybe my report is not complete, sorry for that.

deeleeramone commented 1 year ago

The function seems to work as expected. The code you point at might be an old function that was not removed.

2023-11-06 at 4 38 39 PM

Bugs should be reported in the context of use and include the complete steps to reproduce, along with the complete error message(s). Closing this issue.