さて、今回はビットコインのやつをやります。 前回のコードのこの部分を start = datetime.date(2018,1,1) end = datetime.date.today() data = web.DataReader('AAPL', 'yahoo', start, end) 以下のように変更してください。 以下のように変更してください。 bt = Backtest(data, ...
Start 2004-08-19 00:00:00 End 2013-03-01 00:00:00 Duration 3116 days 00:00:00 Exposure Time [%] 94.27 Equity Final [$] 68935.12 Equity Peak [$] 68991.22 Return [%] 589.35 Buy & Hold Return [%] 703.46 ...
このシリーズ「100日後に株を自動売買する」では、初心者がゼロからシステムトレード環境を整え、最終的に自動発注までつなげることを目指しています。 1日目はゴールを整理し、2日目は株価データを取得、3日目は Signals.py を作って戦略を「関数」として ...
Backtesting is an essential part of the trading and investment process as it reveals how a strategy would perform under real-market conditions. It enables traders and analysts to assess, through ...