Skip to content

Commit

Permalink
[Binance] set SUPPORTS_CUSTOM_LIMIT_ORDER_BOOK_FETCH
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Aug 25, 2024
1 parent 00be2f2 commit e3518b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Trading/Exchange/binance/binance_exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class Binance(exchanges.RestExchange):
SUPPORTS_SET_MARGIN_TYPE_ON_OPEN_POSITIONS = False # set False when the exchange refuses to change margin type
# when an associated position is open
# binance {"code":-4048,"msg":"Margin type cannot be changed if there exists position."}
# Set True when the "limit" param when fetching order books is taken into account
SUPPORTS_CUSTOM_LIMIT_ORDER_BOOK_FETCH = True

# should be overridden locally to match exchange support
SUPPORTED_ELEMENTS = {
Expand Down

0 comments on commit e3518b5

Please sign in to comment.