Strateji testi
strateji_testiBacktests a trading strategy on a single stock using realistic rules: signals at close, entry at next open, 0.2% commission, and Sharpe ratio net of the Turkish risk-free rate.
Instructions
Bir hissede strateji backtest'i (yalnız uzun pozisyon, sinyal kapanışta, işlem ertesi açılışta, %0,2 komisyon, Sharpe TL risksiz faiz düşülerek). Stratejiler: sma_cross = Hareketli Ortalama Kesişimi [fast=20, slow=50]; rsi_reversion = RSI Ortalamaya Dönüş [period=14, lower=30, upper=70]; macd = MACD Kesişimi [fast=12, slow=26, signal=9]; bollinger = Bollinger Bandı Dönüşü [period=20, k=2]; supertrend = Supertrend [period=10, mult=3]; donchian = Donchian Kırılımı (Kaplumbağa) [entry=20, exit=10]; composite = Bileşik Teknik Skor [buy=25, sell=-10].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sembol": "<sembol>",
"strateji": "<strateji>"
},
"name": "strateji_testi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| donem | No | Varsayılan 5y | |
| kar_al | No | Oran: 0.2 = %20 | |
| sembol | Yes | BIST kodu (THYAO) ya da Yahoo sembolü (XU100.IS, USDTRY=X, GC=F) | |
| strateji | Yes | ||
| parametreler | No | ||
| zarar_durdur | No | Oran: 0.08 = %8 |