You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
I checked the documentation and other Issues. I am using the latest version of this library.
Hardware?
Local server/workstation
Operating System?
Windows
Python version?
Python3.10
Installed packages
Not relevant here.
Logging output
Not relevant here.
Processing method?
stream_buffer
Used endpoint?
concerns all
Issue
Congrats - this library is just marvellous!
The source code for method get_exchange_info in the websocket API reads as:
[snip]
if symbol is None:
params = {"symbol": symbol}
if symbols is None:
symbols = [symbol.upper() for symbol in symbols]
params = {"symbols": symbols}
if permissions is None:
params = {"permissions": permissions}
[snip]
All of those three method parameters are None by default. Of course, what was meant was this instead:
params = {}
if symbol is not None:
params = {"symbol": symbol}
elif symbols is not None:
symbols = [symbol.upper() for symbol in symbols]
params = {"symbols": symbols}
elif permissions is not None:
params = {"permissions": permissions}
This fixes method get_exchange_info...
Cheers.
The text was updated successfully, but these errors were encountered:
Version of this library.
1.46.1
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
Hardware?
Local server/workstation
Operating System?
Windows
Python version?
Python3.10
Installed packages
Logging output
Processing method?
stream_buffer
Used endpoint?
concerns all
Issue
Congrats - this library is just marvellous!
The source code for method get_exchange_info in the websocket API reads as:
[snip]
[snip]
All of those three method parameters are None by default. Of course, what was meant was this instead:
This fixes method get_exchange_info...
Cheers.
The text was updated successfully, but these errors were encountered: