- Fetch/Import stock order: It's useful if you have several accounts and want to collect all orders in one place.
- Garanti BBVA Yatırım
- NCM Investment
$ go get github.com/guneyin/gobist-importer
imp, err := importer.New(broker.Garanti, "garanti.csv")
if err != nil {
log.Fatal(err)
}
func main() {
imp, err := importer.New(broker.Garanti, "garanti.csv")
if err != nil {
log.Fatal(err)
}
ts, err := imp.Import()
if err != nil {
log.Fatal(err)
}
for _, item := range ts.Items {
fmt.Printf("%-10s %-35s %-5d %-10.2f %-15s\n", item.Symbol, item.Date, item.Quantity, item.Price, item.Type.String())
}
}