From 6dfa159a914968d6a8838020521bfb1da5f1a905 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 12 Aug 2020 14:11:19 +0200 Subject: [PATCH] Small comment adjustments in exchange class --- freqtrade/exchange/exchange.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 8438941f7..f8bac3a8d 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -974,7 +974,7 @@ class Exchange: except ccxt.BaseError as e: raise OperationalException(e) from e - # Assign method to fetch_stoploss_order to allow easy overriding in other classes + # Assign method to cancel_stoploss_order to allow easy overriding in other classes cancel_stoploss_order = cancel_order def is_cancel_order_result_suitable(self, corder) -> bool: @@ -1040,10 +1040,10 @@ class Exchange: @retrier def fetch_l2_order_book(self, pair: str, limit: int = 100) -> dict: """ - get order book level 2 from exchange - - Notes: - 20180619: bittrex doesnt support limits -.- + Get L2 order book from exchange. + Can be limited to a certain amount (if supported). + Returns a dict in the format + {'asks': [price, volume], 'bids': [price, volume]} """ try: