I just started using Dynamic[..]. I am trying to watch bitcoin prices by a url call.
While I am getting updates, they are too fast. Although the output changes only once a second (because
there is a time returned that changes once a second) I worry that I am actually and needlessly querying the
remote server many times a second. (Obviously, I don’t want to be the source of an unintended DoS attack!)
Trying either UpdateInterval->5 (see my code below) or Clock[{1,1},5] doesn’t slow down the response.
How can I slow it, or alternatively, can someone explain how often the remote server is actually being queried by this?
Thank you both very much. Since my original post, I discovered the exchange has a somewhat newer api and suggests a query no often than once every 2 secs. Also I just wanted a last price that I could feed to other modules. So, the code below is what I finally settled on for anybody interested.