Skip to content

Commit

Permalink
fix: add missing imports & update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Oct 10, 2024
1 parent 10cffbb commit 3ccba16
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions datamaxi/datamaxi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
from datamaxi.datamaxi.cex_candle import CexCandle # used in documentation # noqa:F401
from datamaxi.datamaxi.dex_candle import DexCandle # used in documentation # noqa:F401
from datamaxi.datamaxi.dex_trade import DexTrade # used in documentation # noqa:F401
from datamaxi.datamaxi.orderbook import Orderbook
from datamaxi.datamaxi.wallet_status import WalletStatus


class Datamaxi:
Expand All @@ -30,3 +32,5 @@ def __init__(self, api_key=None, **kwargs: Any):
self.forex = Forex(api_key, **kwargs)
self.ticker = Ticker(api_key, **kwargs)
self.premium = Premium(api_key, **kwargs)
self.orderbook = Orderbook(api_key, **kwargs)
self.wallet_status = WalletStatus(api_key, **kwargs)
6 changes: 6 additions & 0 deletions docs/orderbook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Orderbook

::: datamaxi.datamaxi.Orderbook
options:
show_submodules: true
show_source: false
6 changes: 6 additions & 0 deletions docs/wallet-status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Wallet Status

::: datamaxi.datamaxi.WalletStatus
options:
show_submodules: true
show_source: false
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ nav:
- Forex: forex.md
- Ticker: ticker.md
- Premium: premium.md
- Orderbook: orderbook.md
- Wallet Status: wallet-status.md
- Defillama: defillama.md
- Trend:
- Naver Trend: naver-trend.md
Expand Down

0 comments on commit 3ccba16

Please sign in to comment.