mirror of
https://github.com/bspeice/metrik
synced 2024-11-23 07:38:09 -05:00
Add the OptionsFlow to batch processing
This commit is contained in:
parent
a8871af4e7
commit
c3484ac0cc
@ -1,2 +1,2 @@
|
|||||||
__version__ = '0.5.0'
|
__version__ = '0.5.1'
|
||||||
__release__ = __version__
|
__release__ = __version__
|
@ -9,10 +9,12 @@ from os import path
|
|||||||
|
|
||||||
from metrik.conf import get_config
|
from metrik.conf import get_config
|
||||||
from metrik.flows.equities_flow import EquitiesFlow
|
from metrik.flows.equities_flow import EquitiesFlow
|
||||||
|
from metrik.flows.options_flow import OptionsFlow
|
||||||
from metrik import __version__
|
from metrik import __version__
|
||||||
|
|
||||||
flows = {
|
flows = {
|
||||||
'EquitiesFlow': EquitiesFlow
|
'EquitiesFlow': OptionsFlow,
|
||||||
|
'OptionsFlow': OptionsFlow
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,10 +5,10 @@ mongo_port=27017
|
|||||||
mongo_database=metrik
|
mongo_database=metrik
|
||||||
|
|
||||||
[tradeking]
|
[tradeking]
|
||||||
consumer_key=
|
consumer_key=FvCJ6uMDGosZurOT6I19UTPHCVRtHkCoNBSLsX22
|
||||||
consumer_secret=
|
consumer_secret=WIZKUg3jQnfJcznsXtvvbBgNzIODhnRCU5iOFNqj
|
||||||
oauth_token=
|
oauth_token=S3rirDdjQ2Z3ou6Rdx1EQPDTd7Y4Bdz6Cj7svT46
|
||||||
oauth_token_secret=
|
oauth_token_secret=OxdALZqugIAGrOvmL9HynHxhGda9UZUFSNYu0uNi
|
||||||
|
|
||||||
[statestreet]
|
[statestreet]
|
||||||
etf_holdings:
|
etf_holdings:
|
||||||
|
@ -3,9 +3,9 @@ from metrik.conf import get_config
|
|||||||
from metrik.tasks.cboe import CboeOptionableList
|
from metrik.tasks.cboe import CboeOptionableList
|
||||||
from metrik.tasks.tradeking import TradekingOptionsQuotes
|
from metrik.tasks.tradeking import TradekingOptionsQuotes
|
||||||
|
|
||||||
class EquitiesFlow(Flow):
|
class OptionsFlow(Flow):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(EquitiesFlow, self).__init__(*args, **kwargs)
|
super(OptionsFlow, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_schedule():
|
def get_schedule():
|
||||||
|
Loading…
Reference in New Issue
Block a user