-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from EtWnn/develop
Develop
- Loading branch information
Showing
7 changed files
with
84 additions
and
40 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 |
---|---|---|
@@ -1,8 +1,16 @@ | ||
__version__ = "0.1.0" | ||
__version__ = "0.1.1" | ||
__author__ = "EtWnn" | ||
|
||
from CryptoPrice.retrievers.BinanceRetriever import BinanceRetriever | ||
from CryptoPrice.retrievers.KucoinRetriever import KucoinRetriever | ||
from CryptoPrice.retrievers.MetaRetriever import MetaRetriever | ||
|
||
retriever = MetaRetriever([BinanceRetriever(), KucoinRetriever()]) | ||
|
||
def get_default_retriever() -> MetaRetriever: | ||
""" | ||
Provides a hands on price retriever made from the default BinanceRetriever and the default KucoinRetriever | ||
:return: the meta retriever constructed | ||
:rtype: MetaRetriever | ||
""" | ||
return MetaRetriever([BinanceRetriever(), KucoinRetriever()]) |
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
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