accueil / serveurs / Finance & Paiement / io.github.Marginpad/sdk
io.github.Marginpad/sdk
serveur MCP (Model Context Protocol) · marginpad 2.4.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.Marginpad/sdk est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.Marginpad/sdk » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 29 outils
- calc_liquidation≈ 127 tokens
Liquidation price for a position: entry, leverage, side.
Paramètres, retour & exemple (3)
Paramètresside· string · requis · long | shortentry· number · requisleverage· number · requis
Exemple d'appel{"name": "calc_liquidation", "arguments": {"side": "long", "entry": 1, "leverage": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - calc_position_size≈ 134 tokens
Risk-based position size from account balance, risk percent, entry and stop.
Paramètres, retour & exemple (4)
Paramètresstop· number · requisentry· number · requisbalance· number · requisrisk_pct· number · requis
Exemple d'appel{"name": "calc_position_size", "arguments": {"stop": 1, "entry": 1, "balance": 1, "risk_pct": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_economic_calendar≈ 106 tokens
Upcoming macro events that move crypto (FOMC, CPI, NFP). Always check this before answering questions about dates - never answer those from memory.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "get_economic_calendar", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_fear_greed≈ 84 tokens
Crypto Fear and Greed index, current value and classification.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "get_fear_greed", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_funding≈ 92 tokens
Current funding rates across exchanges - who pays whom to hold a perp position.
Paramètres, retour & exemple (1)
Paramètressymbol· string · optionnel
Exemple d'appel{"name": "get_funding", "arguments": {"symbol": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_klines≈ 126 tokens
OHLC candles for a symbol. Use this to compute indicators or check a setup before trading.
Paramètres, retour & exemple (2)
Paramètressymbol· string · requisinterval· string · optionnel
Minutes: 1, 5, 15, 60, 240, 1440, 10080
Exemple d'appel{"name": "get_klines", "arguments": {"symbol": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_liquidations≈ 91 tokens
Recent real liquidation events aggregated from eight exchanges.
Paramètres, retour & exemple (1)
Paramètressymbol· string · optionnel
Exemple d'appel{"name": "get_liquidations", "arguments": {"symbol": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_markets≈ 116 tokens
Every tradable symbol with its asset class, maximum leverage and taker fee. Call this before sizing a trade.
Paramètres, retour & exemple (1)
Paramètresasset_class· string · optionnel · crypto | stock | forex | metal | index
Exemple d'appel{"name": "get_markets", "arguments": {"asset_class": "crypto"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_open_interest≈ 90 tokens
Open interest per symbol - how much leveraged money is committed.
Paramètres, retour & exemple (1)
Paramètressymbol· string · optionnel
Exemple d'appel{"name": "get_open_interest", "arguments": {"symbol": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_price≈ 121 tokens
Live price and 24h change for a crypto perp, stock, index, forex pair or metal. No API key needed.
Paramètres, retour & exemple (1)
Paramètressymbol· string · requis
Symbol without the USDT suffix, e.g. BTC, ETH, AAPL, EURUSD, XAU
Exemple d'appel{"name": "get_price", "arguments": {"symbol": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_screener≈ 91 tokens
Scored trade setups across top USDT perps: 0-100 technical score, RSI, MACD, funding and open interest.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "get_screener", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_accounts≈ 116 tokens
Every book (sub-account) of this account with lifetime numbers and the keys bound to it. A book is a separate journal, balance and report; a key minted with a book name trades that book. Requires an API key.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "paper_accounts", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_balance≈ 91 tokens
Your paper account: balance, equity, free margin, unrealized P&L. Requires an API key.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "paper_balance", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_cancel_order≈ 98 tokens
Cancel a resting limit order. Requires an API key.
Paramètres, retour & exemple (1)
Paramètresorder_id· string · requis
Exemple d'appel{"name": "paper_cancel_order", "arguments": {"order_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_close≈ 122 tokens
Close a simulated position, fully or partially. Requires an API key.
Paramètres, retour & exemple (2)
Paramètresid· string · requispct· number · optionnel
Percent to close, 1-100. Omit for the whole position.
Exemple d'appel{"name": "paper_close", "arguments": {"id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_equity≈ 142 tokens
The equity curve of this key’s book: starting balance + realized P&L per bucket from the ledger, the live unrealized point at the end, and max drawdown. Requires an API key.
Paramètres, retour & exemple (2)
Paramètresdays· number · optionnel
1-90, default 30step_min· number · optionnel
Bucket minutes, 5-1440
Exemple d'appel{"name": "paper_equity", "arguments": {"days": 1, "step_min": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_fees≈ 182 tokens
Which exchange fee schedule your paper fills are charged at: lists the venues we model (Bybit, Binance, OKX, Bitget, MEXC, Gate, KuCoin, Kraken, Hyperliquid) with their taker rate and the referral discount a MarginPad sign-up gets, and your current default. Pass set to change the default (a venue key, or "marginpad" for the default rate). Requires an API key.
Paramètres, retour & exemple (1)
Paramètresset· string · optionnel
Omit to read. A venue key from the list, or "marginpad" to reset.
Exemple d'appel{"name": "paper_fees", "arguments": {"set": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_limit_order≈ 272 tokens
Place a resting order that fills only when the market reaches your price, and fills AT that price. type "limit" = a pullback entry (long below the market, short above); type "stop" = a breakout entry (long above the market, short below). To open right now use paper_open instead. Simulated money only. Requires an API key.
Paramètres, retour & exemple (8)
Paramètressl· number|null · optionneltp· number|null · optionnelside· string · requis · long | shortsymbol· string · requisleverage· number · requismargin_usd· number · requis
1 to 100000limit_price· number · requis
Below the market for a long, above it for a shortclient_order_id· string · optionnel
Exemple d'appel{"name": "paper_limit_order", "arguments": {"side": "long", "symbol": "texte", "leverage": 1, "margin_usd": 1, "limit_price": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_modify_order≈ 174 tokens
Change a resting limit or stop order in place: its price, stop-loss, take-profit, margin, leverage or trailing stop. Requires an API key.
Paramètres, retour & exemple (7)
Paramètressl· number|null · optionneltp· number|null · optionnelleverage· number · optionnelorder_id· string · requistrail_pct· number|null · optionnelmargin_usd· number · optionnellimit_price· number · optionnel
Exemple d'appel{"name": "paper_modify_order", "arguments": {"order_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_open≈ 310 tokens
Open a simulated position at the live price. Simulated money only - no real funds are ever at risk. Requires an API key.
Paramètres, retour & exemple (9)
Paramètressl· number|null · optionneltp· number|null · optionnelside· string · requis · long | shortsymbol· string · requisdry_run· boolean · optionnel
true = validate and price the trade (entry, liquidation, quantity, fees) and write NOTHINGleverage· number · requis
1 to the symbol cap from get_marketstrail_pct· number|null · optionnel
Trailing stop distance in percent (0.05-50): the stop follows the best price seen, server-side, even while the bot is offlinemargin_usd· number · requis
1 to 100000client_order_id· string · optionnel
Your own id - retrying with the same one returns the first position instead of opening a second
Exemple d'appel{"name": "paper_open", "arguments": {"side": "long", "symbol": "texte", "leverage": 1, "margin_usd": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_orders≈ 92 tokens
Your resting limit orders, plus the last 20 that filled, expired or were cancelled. Requires an API key.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "paper_orders", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_positions≈ 120 tokens
Your paper positions with live mark price and P&L net of fees; status "open" for just the open ones. Requires an API key.
Paramètres, retour & exemple (1)
Paramètresstatus· string · optionnel · open | closed
Omit for both
Exemple d'appel{"name": "paper_positions", "arguments": {"status": "open"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_realism≈ 371 tokens
How honestly your paper fills are simulated. By default a market order fills at the live price with no slippage and maintenance margin is a flat 0.5%, which is easier than a real exchange and increasingly so as a position grows. Pass slippage and/or margin_tiers to turn either on, and margin_venue to build on a named venue’s published maintenance-margin rate (Binance 0.40%, Bybit 0.50%, MEXC 0.10%, Kraken 0.60%, Hyperliquid 1.25%, Coinbase 1.33%). Reading returns your setting, every venue rate and the whole size-tier ladder, so a liquidation price never has to be reverse-engineered. Positions keep the margin they were filled with. Requires an API key.
Paramètres, retour & exemple (3)
Paramètresslippage· boolean · optionnel
Fill against yourself the way a real order book does: 0.01% crypto majors, 0.05% other crypto, 0.005% forex, 0.02% stocks/metals/indices.margin_tiers· boolean · optionnel
Raise maintenance margin with position size, as an exchange risk-limit table does, so a large position is liquidated sooner.margin_venue· string · optionnel
binance | bybit | okx | bitget | mexc | kucoin | gate | kraken | hyperliquid | coinbase, or "marginpad" to reset. Omit every field to read.
Exemple d'appel{"name": "paper_realism", "arguments": {"slippage": true, "margin_tiers": true, "margin_venue": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_replay≈ 295 tokens
Backtest with the real routes: replay one past UTC day on MarginPad’s 1-minute candles. With symbol+day it STARTS a replay (speed = market seconds per real second, 1-600, default 60): from then on paper_open / paper_positions / paper_close act on a separate replay journal priced at the candle under the cursor, with stops, targets and liquidations checked on every candle. With no arguments it reads the status (cursor, price, progress, candles up to the cursor). With act "stop" it closes everything at the cursor and returns the summary. Requires an API key.
Paramètres, retour & exemple (4)
Paramètresact· string · optionnel · stop
"stop" ends the replay and returns the summaryday· string · optionnel
Start: a complete past UTC day, YYYY-MM-DDspeed· number · optionnel
Start: 1-600, default 60symbol· string · optionnel
Start: the market, e.g. BTC
Exemple d'appel{"name": "paper_replay", "arguments": {"act": "stop", "day": "texte", "speed": 1, "symbol": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_report≈ 141 tokens
The 30-day trading report for this account, measured from its own closed trades: totals and a skill score (free), win rate and return by coin, leverage band, side, hour and day plus written findings (API Pro and above). Requires an API key.
Paramètres, retour & exemple (1)
Paramètresdays· number · optionnel
1-30, default 30
Exemple d'appel{"name": "paper_report", "arguments": {"days": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_reset≈ 124 tokens
Restart this key’s book at $10,000: closed trades are archived (never deleted), resting orders cancelled, the report and equity curve start from now. Refused while positions are open - close them first. Requires an API key.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "paper_reset", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_sim≈ 1096 tokens
The whole paper-trading simulation, configurable. By default this engine is deliberately easy: a market order fills whole at the live price, maintenance margin is a flat 0.5%, the balance is a scorecard that never refuses an open, and there is no latency, no size impact and no partial fill. That is right for learning and optimistic for proving out a bot. This sets any of it: the book size your results are measured against and whether it is a real budget (margin_enforced), what crossing the book costs on entry and exit (slippage, slippage_bps, impact_bps_per_100k), how long your order is in flight (latency_ms), whether orders fill part-way (partial_fills, min_fill_pct), how often the venue refuses (reject_rate_pct), your own fee (taker_bps), funding (funding, funding_mult) and where liquidation sits (margin_venue, margin_tiers, mmr_pct). Easiest route: pass a preset - frictionless, realistic, binance, bybit, okx, hyperliquid, thin_book or brutal. Reading returns every field with its range, its default and what it changes, the presets, and what a fill would look like right now. Out-of-range values are refused, never clamped. Positions keep the simulation they were filled under. Requires an API key.
Paramètres, retour & exemple (20)
Paramètresreset· boolean · optionnel
true = back to the engine defaults.preset· string · optionnel
frictionless | realistic | binance | bybit | okx | hyperliquid | thin_book | brutal. A preset starts from the defaults, so it is a clean slate plus that configuration. Omit every field to READ.funding· boolean · optionnel
false = never charge funding, which is how you separate an execution edge from a carry edge.mmr_pct· number · optionnel
0.05-10. Your own maintenance margin, beating margin_venue.slippage· boolean · optionnel
Fill against yourself the way a real book does: 0.01% crypto majors, 0.05% other crypto, 0.005% forex, 0.02% stocks/metals/indices.taker_bps· number · optionnel
0-100. Your own per-side fee in basis points. 5.5 = 0.055%.latency_ms· number · optionnel
0-2000. Your order is in flight this long and the price is re-read afterwards.funding_mult· number · optionnel
0-5. Scale the real 8-hourly funding rate.leverage_max· number · optionnel
Your own leverage ceiling below the market cap. 0 = the market cap.margin_tiers· boolean · optionnel
Raise maintenance margin with size, as a risk-limit ladder does, so a large position liquidates sooner.margin_venue· string · optionnel
binance | bybit | okx | bitget | mexc | kucoin | gate | kraken | hyperliquid | coinbase, or "marginpad". Moves ONLY where liquidation sits.min_fill_pct· number · optionnel
10-100. The worst fill ratio with partial_fills on.slippage_bps· number · optionnel
0-500. Your own crossing cost in basis points instead of that table. 10 = 0.10%.exit_slippage· boolean · optionnel
Pay the crossing cost on the way out too (default true). A stop, take-profit or liquidation still fills at its level.partial_fills· boolean · optionnel
Allow a market order to fill less than it asked for.margin_enforced· boolean · optionnel
true = an open needing more than free margin is refused 402, as a venue refuses it. Free margin is balance minus committed margin; unrealized profit is not collateral, because every position is isolated.reject_rate_pct· number · optionnel
0-50. Share of opens refused 503 venue_rejected on purpose.max_notional_usd· number · optionnel
Your own ceiling on one position’s notional. 0 = none.start_balance_usd· number · optionnel
100 to 10,000,000. The book return_pct, the equity curve and max drawdown are measured against.impact_bps_per_100k· number · optionnel
0-500. Extra basis points per $100,000 of notional, because size walks further down the book.
Exemple d'appel{"name": "paper_sim", "arguments": {"reset": true, "preset": "texte", "funding": true, "mmr_pct": 1, "slippage": true, "taker_bps": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_sltp≈ 157 tokens
Move the stop-loss, take-profit or trailing stop on an open simulated position. Requires an API key.
Paramètres, retour & exemple (4)
Paramètresid· string · requissl· number|null · optionneltp· number|null · optionneltrail_pct· number|null · optionnel
Trailing stop distance in percent (0.05-50); null switches trailing off
Exemple d'appel{"name": "paper_sltp", "arguments": {"id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - paper_trades≈ 123 tokens
Closed-trade ledger with paging - the full record for measuring a strategy. Requires an API key.
Paramètres, retour & exemple (2)
Paramètreslimit· number · optionnelbefore· number · optionnel
Epoch ms cursor from next_before
Exemple d'appel{"name": "paper_trades", "arguments": {"limit": 1, "before": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».