AI 에이전트를 위한 거래 위험 API 도구를 13개에서 48개로 늘렸습니다.

hackernews | | 🔬 연구
#ai 에이전트 #api 도구 #api 확장 #거래 위험 #규제 기술(regtech) #api #review #시스템r #파이썬 #python #리스크 관리
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

SystemR는 기관급 위험 관리 기능을 제공하는 파이썬 기반의 AI 트레이딩 에이전트 구축 도구로, 단 5줄의 코드로 포지션 사이징과 리스크 검증을 처리할 수 있습니다. 이 플랫폼은 몬테카를로 시뮬레이션, 켈리 기준, 시장 레짐 감지 등의 분석 기능을 포함한 8개 카테고리에 걸쳐 총 55개의 도구를 제공합니다. 사용자는 IBKR, 바이낸스 등 25개의 주요 증권사 및 거래소와 연동하여 작업당 최소 0.003달러부터 OSR, SOL, USDC 등 암호화폐로 결제하며 API를 호출할 수 있습니다.

본문

Build AI trading agents with institutional-grade risk management. pip install systemr Requires Python 3.9 or higher. The only dependency is httpx . from systemr import SystemRClient client = SystemRClient(api_key="sr_agent_...") gate = client.pre_trade_gate( symbol="AAPL", direction="long", entry_price="185.50", stop_price="180.00", equity="100000", ) if gate["gate_passed"]: print(f"Buy {gate['sizing']['shares']} shares of AAPL") print(f"Risk: ${gate['sizing']['risk_amount']}") Five lines of code. Position sizing, risk validation, and system health in a single call for $0.01. 55 tools across 8 categories. 25 brokers and exchanges. Pay per call with OSR, SOL, USDC, USDT, or PYUSD. | Category | Count | Highlights | |---|---|---| | Core | 4 | Position sizing, risk validation, performance evaluation | | Analysis | 18 | Monte Carlo, Kelly criterion, drawdown, equity curves | | Intelligence | 11 | Regime detection, patterns, volatility surface, Greeks | | Planning | 4 | Options sizing, futures sizing, trade plan builders | | Data | 3 | P&L calculation, expected value, compliance | | System | 5 | Signal scoring, margin, scanner evaluation | | Compound | 2 | Pre-trade gate, full system assessment | | Journal | 1 | Trade journaling with R-multiples | | Memory and ML | 7 | Persistent memory, behavioral analytics, ML prediction | Connect to 25 brokers including IBKR, Schwab, Binance, Coinbase, Alpaca, Kraken, dYdX, Polymarket, and more. Every tool is callable via client.call_tool("tool_name", **kwargs) . | Tool | Price | Description | |---|---|---| calculate_position_size | $0.003 | G-formula position sizing. Returns shares, risk amount, notional value, and 1R dollar amount. | check_trade_risk | $0.004 | Iron Fist risk validation. Checks position limits, daily loss limits, correlation rules. Returns approval, score (0 to 100), errors, warnings. | evaluate_performance | $0.10 / $0.50 / $1.00 | G-score performance analysis in three tiers: basic (G metric + verdict), full (G + rolling G + System R Score), comprehensive (all metrics + impact analysis). | get_pricing | Free | Returns current prices for every operation on the platform. | | Tool | Price | Description | |---|---|---| analyze_drawdown | $0.004 | Drawdown profile analysis. Max drawdown, drawdown duration, recovery metrics. | run_monte_carlo | $0.006 | Monte Carlo simulation. 1,000 equity path projections with percentile bands. | calculate_kelly | $0.004 | Kelly criterion calculation. Optimal bet fraction, half-Kelly recommendation. | find_variance_killers | $0.004 | Identifies the specific trades dragging your G-metric down. | analyze_win_loss | $0.004 | Win/loss distribution. Win rate, average win R, average loss R, payoff ratio. | run_what_if | $0.004 | Scenario analysis. What happens to your G if you remove certain trades or change parameters. | calculate_confidence | $0.004 | Statistical confidence intervals for your edge estimate. | analyze_consistency | $0.004 | Rolling consistency metrics. Measures how stable your edge is over time. | analyze_correlation | $0.006 | Cross-trade correlation analysis. Detects clustering and serial dependency in outcomes. | analyze_distribution | $0.004 | R-multiple distribution analysis. Skew, kurtosis, normality tests. | analyze_recovery | $0.004 | Recovery analysis. Time to recover from drawdowns, recovery factor. | calculate_risk_adjusted | $0.004 | Risk-adjusted returns. Sharpe, Sortino, Calmar ratios from R-multiples. | analyze_segmentation | $0.006 | Segment performance by direction, asset, time of day, day of week. | analyze_execution_quality | $0.006 | Execution quality scoring. Slippage analysis, fill rate, MFE/MAE ratios. | analyze_peak_valley | $0.004 | Peak-to-valley analysis on the equity curve. | calculate_rolling_g | $0.004 | Rolling G-metric over sliding windows. Shows how your edge evolves. | calculate_system_r_score | $0.004 | System R Score: A/B/C/D/F grade based on composite G-metrics. | calculate_equity_curve | $0.004 | Equity curve from R-multiples. Total return, max drawdown, CAGR. | | Tool | Price | Description | |---|---|---| detect_regime | $0.006 | Market regime detection. Identifies trending, ranging, volatile, or quiet regimes. | detect_patterns | $0.006 | Chart pattern recognition. Head-and-shoulders, double tops, triangles, flags. | detect_structural_break | $0.006 | Structural break detection in price series. Identifies regime transitions. | analyze_trend_structure | $0.006 | Trend structure analysis. Higher highs/lows, trend strength, pullback quality. | calculate_indicators | $0.004 | Technical indicator calculation. RSI, MACD, Bollinger, ATR, and more. | analyze_price_structure | $0.006 | Price structure analysis. Support/resistance levels, pivot points, price channels. | analyze_correlations | $0.006 | Multi-asset correlation matrix. Cross-asset relationships and divergences. | analyze_liquidity | $0.006 | Liquidity analysis. Bid-ask spreads, depth, volume profiles. | analyze_greeks | $0.

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →