Added tests to freqtradebot

This commit is contained in:
Sam Germain
2021-09-14 15:38:26 -06:00
parent 49acfc887f
commit 5f6384a961
4 changed files with 445 additions and 205 deletions

View File

@@ -726,6 +726,7 @@ class Exchange:
if not self.exchange_has('fetchL2OrderBook'):
return True
ob = self.fetch_l2_order_book(pair, 1)
breakpoint()
if side == 'buy':
price = ob['asks'][0][0]
logger.debug(f"{pair} checking dry buy-order: price={price}, limit={limit}")