-
-
-
-
-
-
-
-
1.16.5169f6f04b · ·
cli: fixed a bug with 'printSupportedExchanges' with unknown exchange [ci skip]
-
-
-
1.16.483a097975 · ·
kraken: Support more parseTrade formats. Kraken's QueryTrades API returns trades in the following format: ``` {'ordertxid': 'OAECDR-64FLC-O3MSJE', 'postxid': 'TKH2SE-M7IF5-CFI7LT', 'pair': 'XETHZUSD', 'time': 1528665448.7311, 'type': 'buy', 'ordertype': 'limit', 'price': '516.67000', 'cost': '3.63303', 'fee': '0.00581', 'vol': '0.00703162', 'margin': '0.00000', 'misc': ''} ``` `parseTrade` can now handle this because it no longer requires an `id` key. [ci skip]
-
-
-
-
-
-
-
-
1.16.39ecc5aed7 · ·
Fix bitstamp fee in case no transactions. If an order is cancelled before there can be any transactions, the structure currently looks like this, which is a bit unexpected: ``` {'cost': None, 'currency': 'EUR'} ``` Full response: ``` {'id': '1777642340', 'datetime': None, 'timestamp': None, 'lastTradeTimestamp': None, 'status': 'Canceled', 'symbol': 'BTC/EUR', 'type': None, 'side': None, 'price': None, 'cost': None, 'amount': None, 'filled': 0.0, 'remaining': None, 'trades': [], 'fee': {'cost': None, 'currency': 'EUR'}, 'info': {'status': 'Canceled', 'id': 1777642340, 'transactions': []}} ``` Since the parsing logic is assuming that the result contains a transaction list with the fees, if there is such a list, but the list is empty, it seem reasonable to assume that the fee then is 0. [ci skip]
-