diff --git a/tests/test_assets.py b/tests/test_assets.py index cd69970a5e..280e993968 100644 --- a/tests/test_assets.py +++ b/tests/test_assets.py @@ -2108,7 +2108,7 @@ def test_write_version(self): self.assertIsNone(sa.select((version_table.c.version,)).scalar()) # This should fail because the table has no version info and is, - # therefore, consdered v0 + # therefore, considered v0 with self.assertRaises(AssetDBVersionError): check_version_info(self.engine, version_table, -2) diff --git a/zipline/data/minute_bars.py b/zipline/data/minute_bars.py index db068323cc..1bc19f45bd 100644 --- a/zipline/data/minute_bars.py +++ b/zipline/data/minute_bars.py @@ -707,7 +707,7 @@ def write_sid(self, sid, df, invalid_data_behavior='warn'): Parameters ---------- sid : int - The asset identifer for the data being written. + The asset identifier for the data being written. df : pd.DataFrame DataFrame of market data with the following characteristics. columns : ('open', 'high', 'low', 'close', 'volume') diff --git a/zipline/errors.py b/zipline/errors.py index bd96b0558f..c4849913d4 100644 --- a/zipline/errors.py +++ b/zipline/errors.py @@ -73,7 +73,7 @@ class WrongDataForTransform(ZiplineError): class UnsupportedSlippageModel(ZiplineError): """ Raised if a user script calls the set_slippage magic - with a slipage object that isn't a VolumeShareSlippage or + with a slippage object that isn't a VolumeShareSlippage or FixedSlipapge """ msg = """ diff --git a/zipline/finance/controls.py b/zipline/finance/controls.py index 2dbebe997a..fda90ae817 100644 --- a/zipline/finance/controls.py +++ b/zipline/finance/controls.py @@ -62,7 +62,7 @@ def validate(self, restraint given the information in `portfolio`, this method should return None and have no externally-visible side-effects. - If the desired order violates this TradingControl's contraint, this + If the desired order violates this TradingControl's constraint, this method should call self.fail(asset, amount). """ raise NotImplementedError @@ -381,7 +381,7 @@ def validate(self, the information in `portfolio` and `account`, this method should return None and have no externally-visible side-effects. - If the desired order violates this AccountControl's contraint, this + If the desired order violates this AccountControl's constraint, this method should call self.fail(). """ raise NotImplementedError