Merge branch 'develop' into feat/cancel_order

This commit is contained in:
Matthias
2023-02-01 07:06:17 +00:00
11 changed files with 93 additions and 29 deletions

View File

@@ -90,7 +90,7 @@ async def _process_consumer_request(
elif type == RPCRequestType.ANALYZED_DF:
# Limit the amount of candles per dataframe to 'limit' or 1500
limit = min(data.get('limit', 1500), 1500) if data else None
limit = int(min(data.get('limit', 1500), 1500)) if data else None
pair = data.get('pair', None) if data else None
# For every pair in the generator, send a separate message