Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Commit

Permalink
update oanda api url
Browse files Browse the repository at this point in the history
  • Loading branch information
miaolz123 committed Jan 23, 2017
1 parent 141b935 commit 3ebd72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/oanda.v20.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (e *OandaV20) getAuthJSON(method, url string, body interface{}) (statusCode

// GetAccount get the account detail of this exchange
func (e *OandaV20) GetAccount() interface{} {
statusCode, json, err := e.getAuthJSON("GET", "/v3/accounts/11"+e.option.AccessKey+"/summary", nil)
statusCode, json, err := e.getAuthJSON("GET", "/v3/accounts/"+e.option.AccessKey+"/summary", nil)
if err != nil {
e.logger.Log(constant.ERROR, "", 0.0, 0.0, "GetAccount() error, ", err)
return false
Expand Down

0 comments on commit 3ebd72b

Please sign in to comment.