We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8f0ec6 + 630ff13 commit 5dba9c8Copy full SHA for 5dba9c8
1 file changed
ibw/client.py
@@ -199,7 +199,8 @@ def _set_server(self) -> bool:
199
)
200
201
# TO DO: Add check market hours here and then check for a mutual fund.
202
- if 'news' in self.data_news(conid='265598'):
+ news = self.data_news(conid='265598')
203
+ if news and 'news' in news:
204
print(success)
205
return True
206
if server_account_content is not None and 'set' in server_update_content.keys() and server_update_content['set'] == True:
0 commit comments