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:
2026-05-27 09:43:18 +02:00
parent 6e9862c183
commit bf26eb0439
+2 -2
View File
@@ -54,8 +54,8 @@ class CerberoClient:
def get_account_summary(self) -> dict:
return self._post("/mcp-deribit/tools/get_account_summary")
def get_positions(self) -> list[dict]:
return self._post("/mcp-deribit/tools/get_positions")
def get_positions(self, currency: str = "ETH") -> list[dict]:
return self._post("/mcp-deribit/tools/get_positions", {"currency": currency})
# --- Trading ---