Skip to content

Commit

Permalink
Merge pull request #2052 from quantopian/add-slippage-model-to-api
Browse files Browse the repository at this point in the history
MAINT: add FixedBasisPointsSlippage to api
  • Loading branch information
Vikram Narayan committed Dec 15, 2017
2 parents fdfce9b + 1287790 commit bbbcdce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ install:
if [[ -f "$RECIPE_OUTPUT" && "$DO_UPLOAD" = "true" ]]; then anaconda -t $ANACONDA_TOKEN upload "$RECIPE_OUTPUT" -u quantopian --label ci; fi
done
- conda create -n testenv --use-local --yes -c quantopian pip python=$TRAVIS_PYTHON_VERSION numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION libgfortran=3.0 ta-lib=$TALIB_VERSION
- conda create -n testenv --debug --use-local --yes -c quantopian pip python=$TRAVIS_PYTHON_VERSION numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION libgfortran=3.0 ta-lib=$TALIB_VERSION
- source activate testenv

- CACHE_DIR="$HOME/.cache/.pip/pip_np""$CONDA_NPY"
Expand Down
2 changes: 2 additions & 0 deletions zipline/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
)
from .finance.slippage import (
FixedSlippage,
FixedBasisPointsSlippage,
VolumeShareSlippage,
)
from .utils import math_utils, events
Expand All @@ -41,6 +42,7 @@
__all__ = [
'EODCancel',
'FixedSlippage',
'FixedBasisPointsSlippage',
'NeverCancel',
'VolumeShareSlippage',
'Restriction',
Expand Down

0 comments on commit bbbcdce

Please sign in to comment.