MAINT: Removes unnecessary capital_base arg to TradingAlgorithm (#1677)

Capital base is included in the sim params, so we should define the
value there, or use the default.

This change also unifies the default capital base as 1e5, as was
previously defined in algorithm.py.
This commit is contained in:
Andrew Daniels
2017-02-17 09:04:50 -05:00
committed by GitHub
parent 60689df84d
commit ba484e5469
4 changed files with 5 additions and 11 deletions
-1
View File
@@ -4278,7 +4278,6 @@ class TestEquityAutoClose(WithTmpDir, WithTradingCalendars, ZiplineTestCase):
env=env,
sim_params=resources.sim_params,
data_frequency='minute',
capital_base=capital_base,
)
output = algo.run(resources.data_portal)