Tobias Witek
e6d36ffd96
[modules/stock] Revert to using stock API
...
Many thanks to @mschwartz for pointing out how to!
see #453
2019-10-14 21:19:59 +02:00
Tobias Witek
e1f8ed6806
[modules/stock] Use www.worldtradingdata.com
...
Since yahoo.com doesn't seem to offer a free API anymore, use
www.worldtradingdata.com instead. NOTE: This needs an API token!
2019-10-14 20:44:28 +02:00
Tobias Witek
3638aa2420
[modules/various] Use new interval mechanism
...
Use generic interval mechanism in most of the modules that use slow
updates.
Only exception: getcrypto, as the interval is specified in seconds there
and I want to retain backwards-compatibility.
fixes #220
2018-01-07 20:27:11 +01:00
Tobias Witek
a6b7e329c7
[module/stock] Error message if stock service unavailable
...
If the stock rate cannot be retrieved for some reason, print an error
message in the log and present the value as "n/a".
fixes #219
2018-01-07 19:37:31 +01:00
Frederic Junod
6f28726758
Fix unused-import errors found by pylint
2017-10-17 18:59:28 +02:00
Frederic Junod
b0268a412b
Add bumblebee.util.asbool function
...
Harmonize the boolean parameter value. Now `t`, `true`, `y`, `yes`, `on`, `1` are considered truthy and
everything else falsy.
2017-07-08 06:56:20 +02:00
Tobias Witek
12a3aa5456
[modules/stock] Modify symbol decoding for Python3 compatibility
...
In Python3, string doesn't have a "decode" method. I will need to find a
proper fix for this, but for now, the workaround seems to do the trick.
2017-05-11 19:43:59 +02:00
Michael P. Soulier
ba38a9d4a0
Added a currencies parameter to the stock ticker.
2017-05-10 15:38:44 -04:00
Michael P. Soulier
b4576e846f
Adding simple stock ticker.
2017-05-09 13:23:18 -04:00