dededdew
This commit is contained in:
Binary file not shown.
@@ -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")
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user