This is a kind-of emergency stable merge; I made a lot of changes to the main branch and I want to include them in the stable branch as they are functional. All packages with the exception of option uses float64s in their structs rather than strings. Option is still WIP, so I will update it as I work on the various Strategy spreads.
Changelog since v0.8.0:
Changed all structs dealing with numbers to return float64 instead of string. This is for a number of reasons, but primarily of which is that I was working on go-algotrader and realized that it was a pain to convert each string to float64 just to do calculations. Therefore, I am making the decision to migrate this library over to convert those values natively. This should make it much easier to use the library for building models; conversion from string to float64 shouldn't be a requirement to use this library.
Updated timestamp function to use ISO 8601
Instead of using .APIKEY, this library now utilizes viper to marshal a config.env file located at your $HOME (~)
I have updated packages in all structs except option from string values for numbers to float64, as described above
This is a kind-of emergency stable merge; I made a lot of changes to the main branch and I want to include them in the stable branch as they are functional. All packages with the exception of option uses
float64s
in their structs rather thanstrings
. Option is still WIP, so I will update it as I work on the various Strategy spreads.Changelog since v0.8.0:
float64
instead ofstring
. This is for a number of reasons, but primarily of which is that I was working on go-algotrader and realized that it was a pain to convert each string to float64 just to do calculations. Therefore, I am making the decision to migrate this library over to convert those values natively. This should make it much easier to use the library for building models; conversion fromstring
tofloat64
shouldn't be a requirement to use this library.config.env
file located at your$HOME
(~
)option
fromstring
values for numbers tofloat64
, as described aboveHandler
functionkeySearch
&Handler
functions