diff --git a/pytr/details.py b/pytr/details.py index 15cc3e0..ed23257 100644 --- a/pytr/details.py +++ b/pytr/details.py @@ -13,17 +13,11 @@ async def details_loop(self): recv = 0 await self.tr.stock_details(self.isin) await self.tr.news(self.isin) - # await self.tr.subscribe_news(self.isin) await self.tr.ticker(self.isin, exchange="LSX") await self.tr.performance(self.isin, exchange="LSX") await self.tr.instrument_details(self.isin) await self.tr.instrument_suitability(self.isin) - # await self.tr.add_watchlist(self.isin) - # await self.tr.remove_watchlist(self.isin) - # await self.tr.savings_plan_parameters(self.isin) - # await self.tr.unsubscribe_news(self.isin) - while True: _subscription_id, subscription, response = await self.tr.recv() @@ -45,7 +39,6 @@ async def details_loop(self): elif subscription["type"] == "instrumentSuitability": recv += 1 self.instrumentSuitability = response - print("instrumentSuitability:", response) else: print(f"unmatched subscription of type '{subscription['type']}':\n{preview(response, num_lines=30)}")