update definitions: wrong arg value format

get_public_candles (line 99) : limit arg was set as string while below it is defined as int
get_public_trades (line 121) : limit arg was set as string while below it is defined as int
This commit is contained in:
fintzd
2021-04-08 16:07:46 +02:00
committed by Robert Kowalski
parent c755d33d28
commit e6c94c32f9

View File

@@ -97,7 +97,7 @@ class BfxRest:
return candles
async def get_public_candles(self, symbol, start, end, section='hist',
tf='1m', limit="100", sort=-1):
tf='1m', limit=100, sort=-1):
"""
Get all of the public candles between the start and end period.
@@ -118,7 +118,7 @@ class BfxRest:
candles = await self.fetch(endpoint, params=params)
return candles
async def get_public_trades(self, symbol, start, end, limit="100", sort=-1):
async def get_public_trades(self, symbol, start, end, limit=100, sort=-1):
"""
Get all of the public trades between the start and end period.