fix: get_positions usa currency=ETH (default era USDC)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -54,8 +54,8 @@ class CerberoClient:
|
|||||||
def get_account_summary(self) -> dict:
|
def get_account_summary(self) -> dict:
|
||||||
return self._post("/mcp-deribit/tools/get_account_summary")
|
return self._post("/mcp-deribit/tools/get_account_summary")
|
||||||
|
|
||||||
def get_positions(self) -> list[dict]:
|
def get_positions(self, currency: str = "ETH") -> list[dict]:
|
||||||
return self._post("/mcp-deribit/tools/get_positions")
|
return self._post("/mcp-deribit/tools/get_positions", {"currency": currency})
|
||||||
|
|
||||||
# --- Trading ---
|
# --- Trading ---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user