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