Skip to content

Commit

Permalink
Update examples (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
relusc authored Nov 13, 2023
1 parent f99e0ca commit 1aa4999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func main() {
}

// List quotes for specific instrument and exchange
q, err := c.GetInstrumentQuotesJSON(msci, nList[0].Id, "Y1", "2022-11-20")
q, err := c.GetInstrumentQuotesJSON(msci, nList[0].Id, gonvista.RangeOneYear, "2022-11-20")
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion examples/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {
}

// List quotes for specific instrument and exchange
q, err := c.GetInstrumentQuotesJSON(msci, nList[0].Id, "Y1", "2022-11-20")
q, err := c.GetInstrumentQuotesJSON(msci, nList[0].Id, gonvista.RangeOneYear, "2022-11-20")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 1aa4999

Please sign in to comment.