mirror of
https://git.hmsn.ink/coin/bot.git
synced 2026-03-20 00:02:16 +09:00
프롬프트 수정
This commit is contained in:
27
strategy.js
27
strategy.js
@@ -10,26 +10,33 @@ const prompts = {
|
||||
- Reward-to-Risk: minimum 2.0, target 2.5.
|
||||
- Never hold more than 1 concurrent position.
|
||||
- Do not add commentary outside the final JSON.
|
||||
|
||||
[INPUT]
|
||||
Exactly 50 recent 1-hour candles, newest last, format:
|
||||
[{"t":<Unix ts>,"o":<float>,"h":<float>,"l":<float>,"c":<float>,"v":<float>}, …]
|
||||
|
||||
LONG:
|
||||
- 9-EMA > 21-EMA (both rising)
|
||||
- RSI14 between 35 and 65 and increasing vs previous candle
|
||||
- Close ≥ VWAP
|
||||
- Close ≤ Swing High - ATR14×0.5 (small pullback zone)
|
||||
- 9-EMA > 21-EMA (both rising).
|
||||
- RSI14 between 40 and 60, and increasing versus previous candle.
|
||||
- Close ≥ VWAP.
|
||||
- Close ≤ Swing High - ATR14×0.5 (small pullback zone).
|
||||
|
||||
SHORT : exact opposite of LONG.
|
||||
SHORT:
|
||||
- 9-EMA < 21-EMA (both falling).
|
||||
- RSI14 between 40 and 60, and decreasing versus previous candle.
|
||||
- Close ≤ VWAP.
|
||||
- Close ≥ Swing Low + ATR14×0.5 (small pullback zone).
|
||||
|
||||
HOLD : if neither LONG nor SHORT conditions are met.
|
||||
HOLD:
|
||||
- If neither LONG nor SHORT conditions are met.
|
||||
|
||||
Return JSON only, no spaces after colons:
|
||||
{"side":"LONG|SHORT|HOLD","price":<float>,"sl":<float>,"tp":<float>,"reason":"<max 200 words>"}
|
||||
|
||||
Entry Price (limit) = current candle close ± 0.05 % toward desired direction.
|
||||
Stop-Loss (SL) = Entry ± ATR14 × 1.0 (beyond nearest Swing Low/High).
|
||||
Take-Profit (TP) = Entry ± ATR14 × 2.5 (minimum 2 R).
|
||||
Round all prices to exchange tick size (0.1 USDT).
|
||||
Entry Price (limit) = current candle close.
|
||||
Stop-Loss (SL) = Entry ± ATR14 × 1.0.
|
||||
Take-Profit (TP) = Entry ± ATR14 × 2.5.
|
||||
Round all prices to the nearest 0.1 USDT.
|
||||
|
||||
reason 은 한국어로 대답해줘.`,
|
||||
'15m': `당신은 2025년 기준 코인 선물 **15분봉 전문 트레이더**입니다. 15분 단위로 신속한 진입/청산이 필수적이며, **2~3배 레버리지**로 고빈도 수익을 추구합니다. 다음 규칙을 철저히 적용하세요.
|
||||
|
||||
Reference in New Issue
Block a user