Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kernc/backtesting.py
/ test_run
Method
test_run
backtesting/test/_test.py:81–83 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
79
80
class
TestBacktest(TestCase):
81
def
test_run(self):
82
bt = Backtest(EURUSD, SmaCross)
83
bt.run()
84
85
def
test_run_invalid_param(self):
86
bt = Backtest(GOOG, SmaCross)
Callers
nothing calls this directly
Calls
2
run
Method · 0.95
Backtest
Class · 0.90
Tested by
no test coverage detected