Skip to content

noob question: how can I access to my portfolio? #38

@cocodrino

Description

@cocodrino

I've several stocks in my portfolio and I'd like to access them using go,

portfolio

right now I've the current code

account,err := ib.NewPrimaryAccountManager(engine)

if err != nil {
		fmt.Println("error getting account ",err)
	}

portfolio := account.Portfolio()

fmt.Println("Portfolio ", portfolio)

but I'm getting an empty map as portfolio

hope you can help me, thank you so much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions