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 383d56b3bc
commit 8e1f8d75f5
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)