goanda
goanda copied to clipboard
Getting error compiling example
Hello,
I am getting the following error compiling the example:
# _/root
./main.go:20:29: not enough arguments in call to oanda.GetCandles
have (string)
want (string, string, string)
and doing go doc goanda.GetCandles I am getting:
func (c *OandaConnection) GetCandles(instrument string, count string, granularity string) InstrumentHistory
So is this example up-to-date?