# Path: hypebot/core/params_lib.py
# def _ParseChannel(channel):
# def _ParseChannels(channels):
#   def __init__(self, defaults=None):
#   def __str__(self):
#   def Override(self, params):
#   def _AssignValueConvertDict(self, key, value):
#   def _ParseDict(self, params):
#   def __setattr__(self, key, value):
#   def get(self, key, default_value=None):  # pylint: disable=invalid-name
#   def AsDict(self):
#   def Lock(self):
#   def _RaiseIfLocked(self):
# def MergeParams(defaults, *overrides):
# class HypeParams(object):
#   SPECIAL_ATTRS = ['_locked']
#   HAS_DYNAMIC_ATTRIBUTES = True
# 
# Path: hypebot/stocks/stock_lib.py
# class StockQuote(namedtuple('StockQuote', 'price change percent')):
# class StockLib(with_metaclass(abc.ABCMeta)):
#   DEFAULT_PARAMS = params_lib.HypeParams({})
#   def __init__(self, params):
#   def ParseSymbols(self, symbols_str: Text) -> List[Text]:
#   def Quotes(self,
#              symbols: List[Text]) -> Dict[Text, StockQuote]:
#   def History(self,
#               symbols: List[Text],
#               span: Text) -> Dict[Text, List[float]]:


import os
from typing import Dict, List, Text
from hypebot.core import params_lib
from hypebot.protos import stock_pb2
from hypebot.stocks import stock_lib
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Use IEX for stock data.

https://iextrading.com/developer/
https://iextrading.com/api-exhibit-a/
"""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals





class IEXStock(stock_lib.StockLib):
  """Data provided for free by IEX."""

  DEFAULT_PARAMS = params_lib.MergeParams(

# Path: hypebot/core/params_lib.py
# def _ParseChannel(channel):
# def _ParseChannels(channels):
#   def __init__(self, defaults=None):
#   def __str__(self):
#   def Override(self, params):
#   def _AssignValueConvertDict(self, key, value):
#   def _ParseDict(self, params):
#   def __setattr__(self, key, value):
#   def get(self, key, default_value=None):  # pylint: disable=invalid-name
#   def AsDict(self):
#   def Lock(self):
#   def _RaiseIfLocked(self):
# def MergeParams(defaults, *overrides):
# class HypeParams(object):
#   SPECIAL_ATTRS = ['_locked']
#   HAS_DYNAMIC_ATTRIBUTES = True
# 
# Path: hypebot/stocks/stock_lib.py
# class StockQuote(namedtuple('StockQuote', 'price change percent')):
# class StockLib(with_metaclass(abc.ABCMeta)):
#   DEFAULT_PARAMS = params_lib.HypeParams({})
#   def __init__(self, params):
#   def ParseSymbols(self, symbols_str: Text) -> List[Text]:
#   def Quotes(self,
#              symbols: List[Text]) -> Dict[Text, StockQuote]:
#   def History(self,
#               symbols: List[Text],
#               span: Text) -> Dict[Text, List[float]]:


# Path: hypebot/stocks/iex_stock.py
import os
from typing import Dict, List, Text
from hypebot.core import params_lib
from hypebot.protos import stock_pb2
from hypebot.stocks import stock_lib

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Use IEX for stock data.

https://iextrading.com/developer/
https://iextrading.com/api-exhibit-a/
"""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals





class IEXStock(stock_lib.StockLib):
  """Data provided for free by IEX."""

  DEFAULT_PARAMS = params_lib.MergeParams(

      stock_lib.StockLib.DEFAULT_PARAMS,