init
This commit is contained in:
@@ -95,8 +95,8 @@ def run_simulation(symbol: str, interval_minutes: int, days: int = 7):
|
||||
if info and info["alert"]:
|
||||
alerts.append((slice_df.index[-1], slice_df["Close"].iloc[-1]))
|
||||
|
||||
# 8월 3일 이후의 매수 신호만 고려
|
||||
alerts = [(time, price) for time, price in alerts if time > pd.Timestamp('2025-08-03')]
|
||||
# 모든 매수 신호를 표시
|
||||
# 기존 필터 제거하여 전체 기간 매수 신호 사용
|
||||
|
||||
# Plot
|
||||
plt.figure(figsize=(12, 6))
|
||||
@@ -124,6 +124,6 @@ def run_simulation(symbol: str, interval_minutes: int, days: int = 7):
|
||||
|
||||
if __name__ == "__main__":
|
||||
symbol = 'WLD'
|
||||
interval = 240
|
||||
interval = 60
|
||||
days = 7
|
||||
run_simulation(symbol, interval, days)
|
||||
|
||||
Reference in New Issue
Block a user