goanda icon indicating copy to clipboard operation
goanda copied to clipboard

Getting error compiling example

Open mg64ve opened this issue 5 years ago • 2 comments

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?

mg64ve avatar Oct 23 '18 09:10 mg64ve