Ejemplo n.º 1
0
 def get_option_marketdata(self, instrument):
     info = self.get_url(
         urls.build_market_data() + "options/?instruments=" + instrument
     )
     return info["results"][0]
Ejemplo n.º 2
0
 def get_stock_marketdata(self, instruments):
     info = self.get_url(
         urls.build_market_data() + "quotes/?instruments=" + ",".join(instruments)
     )
     return info["results"]