forked from quantopian/zipline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: Update to empyrical, increase test coverage
ENH: Resolve rebase conflict by using updated example_data.tar TST: Increase test coverage for risk portion of zipline
- Loading branch information
Ana Ruelas
committed
Aug 23, 2016
1 parent
57d1bb8
commit f57fe0a
Showing
69 changed files
with
222 additions
and
172 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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package: | ||
name: empyrical | ||
version: "0.1.9" | ||
|
||
source: | ||
fn: empyrical-0.1.9.tar.gz | ||
url: https://pypi.python.org/packages/15/6b/de1d277d4342d2cecc8134f4935248853f32299cdd9b01728b0ec420c350/empyrical-0.1.9.tar.gz | ||
md5: 2c8b928cae192fc9cb8b7104608eec56 | ||
|
||
requirements: | ||
build: | ||
- python | ||
- setuptools | ||
- numpy x.x | ||
- pandas >=0.16.1 | ||
- scipy >=0.15.1 | ||
- bottleneck >=1.0.0 | ||
|
||
run: | ||
- python | ||
- numpy x.x | ||
- pandas >=0.16.1 | ||
- scipy >=0.15.1 | ||
- bottleneck >=1.0.0 | ||
|
||
about: | ||
home: https://github.com/quantopian/empyrical | ||
license: Apache Software License | ||
summary: 'empyrical is a Python library with performance and risk statistics\ncommonly used in quantitative finance' | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html for | ||
# more information about meta.yaml |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -64,4 +64,4 @@ intervaltree==2.1.0 | |
cachetools==1.1.5 | ||
|
||
# For financial risk calculations | ||
qrisk==0.1.4 | ||
empyrical>=0.1.9 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+104 KB
tests/resources/example_data/root/data/test/2016-05-25T02;31;01.173926/adjustments.sqlite
Binary file not shown.
Binary file added
BIN
+72 KB
tests/resources/example_data/root/data/test/2016-05-25T02;31;01.173926/assets-3.sqlite
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ces/example_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/__attrs__
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
.../example_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/__rootdirs__
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"names": ["open", "high", "low", "close", "volume", "day", "id"]} |
1 change: 1 addition & 0 deletions
1
...ample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/close/__attrs__
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Binary file added
BIN
+49 KB
...le_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/close/data/__0.blp
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...mple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/close/meta/sizes
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072} |
1 change: 1 addition & 0 deletions
1
...le_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/close/meta/storage
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}} |
1 change: 1 addition & 0 deletions
1
...example_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/day/__attrs__
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Binary file added
BIN
+9.73 KB
...mple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/day/data/__0.blp
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...xample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/day/meta/sizes
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072} |
1 change: 1 addition & 0 deletions
1
...mple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/day/meta/storage
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}} |
1 change: 1 addition & 0 deletions
1
...xample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/high/__attrs__
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Binary file added
BIN
+49 KB
...ple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/high/data/__0.blp
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/high/meta/sizes
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072} |
1 change: 1 addition & 0 deletions
1
...ple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/high/meta/storage
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}} |
1 change: 1 addition & 0 deletions
1
.../example_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/id/__attrs__
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Binary file added
BIN
+549 Bytes
...ample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/id/data/__0.blp
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...example_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/id/meta/sizes
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072} |
1 change: 1 addition & 0 deletions
1
...ample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/id/meta/storage
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}} |
1 change: 1 addition & 0 deletions
1
...example_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/low/__attrs__
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Binary file added
BIN
+49 KB
...mple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/low/data/__0.blp
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...xample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/low/meta/sizes
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072} |
1 change: 1 addition & 0 deletions
1
...mple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/low/meta/storage
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}} |
1 change: 1 addition & 0 deletions
1
...xample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/open/__attrs__
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Binary file added
BIN
+49 KB
...ple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/open/data/__0.blp
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ample_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/open/meta/sizes
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072} |
1 change: 1 addition & 0 deletions
1
...ple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/open/meta/storage
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}} |
1 change: 1 addition & 0 deletions
1
...mple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/volume/__attrs__
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Binary file added
BIN
+80.5 KB
...e_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/volume/data/__0.blp
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ple_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/volume/meta/sizes
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072} |
1 change: 1 addition & 0 deletions
1
...e_data/root/data/test/2016-05-25T02;31;01.173926/daily_equities.bcolz/volume/meta/storage
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}} |
1 change: 1 addition & 0 deletions
1
...xample_data/root/data/test/2016-05-25T02;31;01.173926/minute_equities.bcolz/metadata.json
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
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.