Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hummingbot_api_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
from .sync_client import SyncHummingbotAPIClient
from .ws import MarketDataWebSocket, ExecutorsWebSocket, WebSocketRouter

__version__ = "1.5.1"
__version__ = "1.5.2"
__all__ = ["HummingbotAPIClient", "SyncHummingbotAPIClient", "MarketDataWebSocket", "ExecutorsWebSocket", "WebSocketRouter"]
11 changes: 10 additions & 1 deletion hummingbot_api_client/routers/archived_bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,13 @@ async def get_database_controllers(self, db_path: str) -> Dict[str, Any]:
print(f"Controller: {controller['controller_name']}")
print(f"Config: {controller['controller_config']}")
"""
return await self._get(f"/archived-bots/{db_path}/controllers")
return await self._get(f"/archived-bots/{db_path}/controllers")

async def delete_archived_bot(self, db_path: str) -> Dict[str, Any]:
"""
Delete an archived bot and its entire directory.

Args:
db_path: Path to the database file as returned by list_databases
"""
return await self._delete(f"/archived-bots/{db_path}")
4 changes: 2 additions & 2 deletions hummingbot_api_client/routers/bot_orchestration.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ async def get_controller_performance_history(
if end_time is not None:
params["end_time"] = end_time

return await self._get("/bot-orchestration/controller-performance/history", params=params)
return await self._get("/bot-orchestration/controller-performance-history", params=params)

async def get_latest_controller_performance(
self,
Expand All @@ -259,7 +259,7 @@ async def get_latest_controller_performance(
params = {}
if bot_name is not None:
params["bot_name"] = bot_name
return await self._get("/bot-orchestration/controller-performance/latest", params=params)
return await self._get("/bot-orchestration/controller-performance-latest", params=params)

# Bot Runs
async def get_bot_runs(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "hummingbot-api-client"
version = "1.5.1"
version = "1.5.2"
description = "An async Python client for Hummingbot API"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
Loading