Skip to content

Commit ac7f174

Browse files
authored
Merge pull request #171 from fireflyprotocol/kevin/BFP-2399-introduce-get-stats
[BFP-2399] Introduce GET /v1/exchange/stats
2 parents fa63b1e + d70151e commit ac7f174

38 files changed

+1641
-39
lines changed

python/example/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ async def main():
123123
)
124124
log.info(f"{depth=} {tickers=} {recent_trades=} {funding_rate_history=}")
125125

126+
stats = await exchange_data_api.get_exchange_stats()
127+
log.info(f"{stats=}")
128+
126129
# ========= Account Data API =========
127130
account_data_api = client.account_data_api
128131
when = ((t := now()) - 60 * 60 * 1000, t) # The past hour.

python/sdk/src/.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/sdk/src/openapi_client/__init__.py

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)