Info
此问题已关闭。 请重新打开它进行编辑或回答。
MoneyNet connection instable and randomly lost
1 次查看(过去 30 天)
显示 更早的评论
Hello, I am currently trying to replace, yahoo by MoneyNet in my code as financial data price feed as yahoo has stopped its API mid May of this year. I am encountering a lot of problem as MoneyNet connection is lost very often, so that all my programs end up in errors due to an unavailable moneynet connection, the connection is lost randomly at different steps of the program, never at the same step, sometimes at the very beginning sometimes at the end. Is there a way to avoid that? Shall I use try and catch loops until the server responds or is there a cleaner solution?
0 个评论
回答(1 个)
Shashank
2017-7-11
A much cleaner way would be to use the 'isconnection' function to check if the connection is valid
- Shashank
1 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!