-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add safe fetch ohlcv dydx method (#686)
* Added a new method safe_fetch_ohlcv_dydx() to fetch_ohlcv.py. Added happy path unit test with mocked dydx response. * Split the test_safe_fetch_ohlcv() function into two: one for ccxt, one for dydx, so that the ccxt parametrization does not affect the dydx test. * Added new utility time function to_iso_timestr() to time_types.py and a corresponding unit test for it.
- Loading branch information
1 parent
50fa66c
commit 188d022
Showing
5 changed files
with
134 additions
and
2 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
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ | |
"pytest-env", | ||
"pyyaml", | ||
"requests", | ||
"requests-mock", | ||
"scikit-learn", | ||
"statsmodels", | ||
"types-pyYAML", | ||
|