This commit is contained in:
27942
2025-10-20 15:04:50 +08:00
parent 87659e0055
commit f9a0b8f487
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -17,7 +17,7 @@ if __name__ == '__main__':
page.set.window.max()
page.listen.start("https://http-gateway2.janapw.com/api/v1/public/quote/v1/getKlineV2")
page.listen.start("http-gateway1.janapw.com/api/v1/public/quote/v1/getKlineV2")
page.get(url="https://www.weeaxs.site/zh-CN/futures/ETH-USDT")

View File

@@ -365,7 +365,7 @@ def backtest_single_position(dates, tp, sl):
# ===============================================================
if __name__ == '__main__':
dates = [f"2025-9-{i}" for i in range(1, 31)]
dates = [f"2025-10-{i}" for i in range(1, 31)]
trades, stats = backtest_single_position(dates, tp=50, sl=-10)