Risk-based position sizing for a crypto (or any) trade
Risk-based position sizing for a crypto (or any) trade: from account size, risk % and entry/stop it returns units to buy/sell, notional, margin needed at your leverage, estimated isolated-margin liquidation price and whether the stop is hit before liquidation, plus reward and risk:reward if you give a take-profit. Optional round-trip fee %. Side is inferred from the stop.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/crypto/position-size
| Category | Market data |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"account_size": "10000",
"entry": "3500",
"leverage": "10",
"risk_pct": "1",
"stop": "3400",
"take_profit": "3800"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"account_size": {
"description": "Account equity in USD (or quote currency)",
"type": "string"
},
"entry": {
"description": "Entry price",
"type": "string"
},
"fee_pct": {
"description": "Fee % per side (default 0)",
"type": "string"
},
"leverage": {
"description": "Leverage (default 1 = spot)",
"type": "string"
},
"maintenance_margin_pct": {
"description": "Maintenance margin % (default 0.5)",
"type": "string"
},
"risk_pct": {
"description": "% of account to risk on this trade, e.g. 1",
"type": "string"
},
"side": {
"description": "long or short (default: inferred from stop)",
"type": "string"
},
"stop": {
"description": "Stop-loss price",
"type": "string"
},
"take_profit": {
"description": "Optional take-profit price",
"type": "string"
}
},
"required": [
"account_size",
"risk_pct",
"entry",
"stop"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}