mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 23:34:21 +01:00
better rewriting
This commit is contained in:
@@ -218,7 +218,9 @@ class BfxRest:
|
||||
_PLACEHOLDER, FOLLOWERS, FOLLOWING, _PLACEHOLDER, _PLACEHOLDER, _PLACEHOLDER,
|
||||
TIPPING_STATUS ] ], COMMENTS, _PLACEHOLDER, _PLACEHOLDER ]
|
||||
"""
|
||||
endpoint = f"pulse/hist?limit={limit}&end={end}"
|
||||
endpoint = f"pulse/hist?limit={limit}"
|
||||
if end:
|
||||
endpoint += f'&end={end}'
|
||||
hist = await self.fetch(endpoint)
|
||||
return hist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user