Skip to content

Commit

Permalink
Deploy v0.4.0 (#25)
Browse files Browse the repository at this point in the history
* feat: unified trading data class

* fix: defillama wrong parameter name

* feat: bump up version to v0.4.0
  • Loading branch information
martinkersner authored Jun 4, 2024
1 parent 00ec17e commit 6f267d2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion datamaxi/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.0"
__version__ = "0.4.0"
4 changes: 2 additions & 2 deletions datamaxi/defillama/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ def mcap(self, protocol: str, pandas: bool = True) -> Union[List, pd.DataFrame]:
<https://docs.datamaxiplus.com/defillama/mcap>
Args:
protocols (str): Protocol name
protocol (str): Protocol name
pandas (bool): Return data as pandas DataFrame
Returns:
Timeseries of market cap for given protocols
Timeseries of market cap for given protocol
"""
check_required_parameter(protocol, "protocol")
params = {
Expand Down
6 changes: 6 additions & 0 deletions docs/datamaxi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Unified Trading Data

::: datamaxi.datamaxi
options:
show_submodules: false
show_source: false
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ markdown_extensions:
nav:
- Main: index.md
- API: api.md
- Unified Trading Data: datamaxi.md
- CEX:
- Binance: binance.md
- Bithumb: bithumb.md
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "datamaxi"
version = "0.3.0"
version = "0.4.0"
authors = [
{ name="Bisonai", email="[email protected]" },
]
Expand Down

0 comments on commit 6f267d2

Please sign in to comment.