feat: paper trader su USDC (ETH_USDC-PERPETUAL), pronto per operatività reale

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-27 09:57:26 +02:00
parent bf26eb0439
commit 8c4ddebe85
3 changed files with 20 additions and 17 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ class CerberoClient:
# --- Account ---
def get_account_summary(self) -> dict:
return self._post("/mcp-deribit/tools/get_account_summary")
def get_account_summary(self, currency: str = "USDC") -> dict:
return self._post("/mcp-deribit/tools/get_account_summary", {"currency": currency})
def get_positions(self, currency: str = "ETH") -> list[dict]:
return self._post("/mcp-deribit/tools/get_positions", {"currency": currency})