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
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ async def lifespan(app: FastAPI):
description="API for managing Hummingbot trading instances",
version=VERSION,
lifespan=lifespan,
redirect_slashes=False,
)

# Add CORS middleware
Expand Down
2 changes: 1 addition & 1 deletion services/gateway_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ async def save_pool(self, chain_network: str, address: str) -> Dict:
"""Save a pool by address using GeckoTerminal lookup"""
return await self._request("POST", f"pools/save/{address}", params={
"chainNetwork": chain_network
})
}, json={})

async def delete_pool(self, chain: str, network: str, address: str) -> Dict:
"""Delete a pool from Gateway's pool list"""
Expand Down
2 changes: 1 addition & 1 deletion services/unified_connector_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from hummingbot.connector.connector_base import ConnectorBase
from hummingbot.connector.connector_metrics_collector import TradeVolumeMetricCollector
from hummingbot.connector.exchange_py_base import ExchangePyBase
from hummingbot.connector.gateway.gateway_base import GatewayBase as Gateway
from hummingbot.connector.gateway.gateway import Gateway
from hummingbot.connector.perpetual_derivative_py_base import PerpetualDerivativePyBase
from hummingbot.core.data_type.common import OrderType, PositionAction, PositionMode, TradeType
from hummingbot.core.data_type.in_flight_order import InFlightOrder, OrderState
Expand Down
Loading