Tasignal Risk
by TASignal by AgentGate in Security & trust
Crypto risk metrics API (VaR, volatility and position sizing). Risk analytics and position sizing for a crypto asset: historical VaR and CVaR at 95/99% per bar and per day, annualized volatility, max drawdown and current drawdown from the high, Sharpe and Sortino, worst/best bar over up to 1000 closed candles; ATR(14)-based stop (or your stop), risk per unit and, with account_usd and risk_pct, the position size in units and USD notional, implied leverage and 2R/3R levels. Not financial advice.
https://api.youraitools.co/tasignal/v1/risk- Price
- $0.02
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 38 ms
- 771 ms slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.youraitools.co/tasignal/v1/risk
Each call costs $0.02 in USDC on Polygon, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://api.youraitools.co/tasignal/v1/risk?account_usd=10000&risk_pct=1&side=long&symbol=ETH&timeframe=4hParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_usd | number | No | Account size in USD (optional; enables units, notional, leverage) |
bars | integer | No | Candles for risk metrics, 50-1000 (default 500) |
entry | number | No | Entry price (default: last price) |
risk_pct | number | No | Percent of the account risked if the stop is hit (default 1) |
side | string | No | Position side (default long) One of: long, short. |
stop | number | No | Stop price (optional; overrides stop_atr) |
stop_atr | number | No | Stop distance in ATR(14) multiples when no stop is given (default 2) |
symbol | string | Yes | Base asset ticker, e.g. BTC, ETH, SOL, HYPE (BTC-PERP, ETH-USD and SOLUSDT are accepted too) |
timeframe | string | No | Candle timeframe: 15m, 1h, 4h or 1d (default 1h; risk default 4h) One of: 15m, 1h, 4h, 1d. |
Example response
The provider's example. We can't check it without paying.
Example response, 49 lines
{
"atr_14": 36.160089,
"atr_pct": 1.517,
"candles_used": 500,
"checked_at": "2026-10-22T19:00:54.578Z",
"confidence": "high",
"disclaimer": "Not financial advice. Past performance does not guarantee future results. Technical indicators, risk metrics and backtests describe historical prices only; they are not predictions or trade recommendations. TASignal never trades, holds funds or keys.",
"last_price": 2383.6,
"market": "ETH",
"position_sizing": {
"account_usd": 10000,
"entry": 2383.6,
"implied_leverage": 0.33,
"notional_usd": 3295.9,
"risk_pct_of_account": 1,
"risk_per_unit": 72.320178,
"risk_usd": 100,
"side": "long",
"stop": 2311.2798,
"stop_distance_pct": 3.034,
"stop_method": "2 x ATR(14) from entry",
"take_profit_2r": 2528.2404,
"take_profit_3r": 2600.5605,
"units": 1.38274
},
"risk": {
"bars": 499,
"best_bar_pct": 8.496,
"current_drawdown_from_high_pct": -13.65,
"cvar_95_per_bar_pct": 2.237,
"cvar_99_per_bar_pct": 3.406,
"max_drawdown_pct": -15.882,
"method": "historical simulation on closed-candle simple returns; 1-day VaR scaled by sqrt(time); Sharpe/Sortino use a 0% risk-free rate",
"period_return_pct": 27.347,
"sharpe_annual": 2.4,
"sortino_annual": 3.914,
"var_95_1d_pct": 3.415,
"var_95_per_bar_pct": 1.394,
"var_99_1d_pct": 7.281,
"var_99_per_bar_pct": 2.972,
"volatility_annual_pct": 49.18,
"worst_bar_pct": -4.03
},
"source": "hyperliquid",
"sources_failed": [],
"symbol": "ETH",
"tier": "risk",
"timeframe": "4h"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.youraitools.co/tasignal/v1/risk?account_usd=10000&risk_pct=1&side=long&symbol=ETH&timeframe=4h'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.youraitools.co/tasignal/v1/risk?account_usd=10000&risk_pct=1&side=long&symbol=ETH&timeframe=4h' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.youraitools.co%2Ftasignal%2Fv1%2Frisk
const res = await pay("https://api.youraitools.co/tasignal/v1/risk?account_usd=10000&risk_pct=1&side=long&symbol=ETH&timeframe=4h");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.youraitools.co/tasignal/v1/risk?account_usd=10000&risk_pct=1&side=long&symbol=ETH&timeframe=4h")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 113 ms | $0.02 |
| 9 h ago | Passed | 402 | 352 ms | $0.02 |
| 17 h ago | Passed | 402 | 38 ms | $0.02 |
| 25 h ago | Passed | 402 | 40 ms | $0.02 |
| 32 h ago | Passed | 402 | 28 ms | $0.02 |
Show 9 older checks
| 40 h ago | Passed | 402 | 771 ms | $0.02 |
| 47 h ago | Passed | 402 | 191 ms | $0.02 |
| 2 days ago | Passed | 402 | 54 ms | $0.02 |
| 3 days ago | Passed | 402 | 157 ms | $0.02 |
| 3 days ago | Passed | 402 | 18 ms | $0.02 |
| 3 days ago | Passed | 402 | 28 ms | $0.02 |
| 3 days ago | Passed | 402 | 20 ms | $0.02 |
| 4 days ago | Passed | 402 | 34 ms | $0.02 |
| 4 days ago | Passed | 402 | 32 ms | $0.02 |