You want "if" instead of "while" there. The whole run() function normally is repeated every minute with new prices. If you put a while with a condition that is always satisfied, it will get stuck there forever and nothing gets repeated.

Last edited by Hredot; 02/28/18 13:49.