-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Short put spread ratio issue (#15)
* Minor bug fixes, and code improvements * added trade numbers to results dataframe * refactored data.py, filter.py, fixed short put spreads
- Loading branch information
1 parent
fc83398
commit c3ff033
Showing
21 changed files
with
614 additions
and
629 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,6 @@ MANIFEST | |
|
||
/data/ | ||
/tests/.pytest_cache/ | ||
/strategies/data/ | ||
/strategies/results/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
env: | ||
global: | ||
- CC_TEST_REPORTER_ID=9a990fea3fb57063b45010735b989c837fbf4b5da5d4bdfeafb89539e2b61d19 | ||
language: python | ||
python: | ||
- "3.6" | ||
before_script: | ||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | ||
- chmod +x ./cc-test-reporter | ||
- ./cc-test-reporter before-build | ||
# command to install dependencies | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install codecov | ||
- pip install coverage | ||
- pip install pytest pytest-cov | ||
# command to run tests | ||
script: | ||
- pytest --cov=./ | ||
|
||
after_success: | ||
- codecov | ||
after_script: | ||
- ./cc-test-reporter after-build -t coverage.py --debug --exit-code $TRAVIS_TEST_RESULT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from .data import get as get | ||
from .data import gets as gets | ||
from .enums import * | ||
from .backtest import run | ||
import optopsy.option_strategies as strategies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.