mattsta / icli

interactive brokers ibkr api command line interface cli giving you the fastest way to lose all your money
Other
84 stars 19 forks source link

Position - Currency handling enhancement #10

Open vsr2158 opened 3 months ago

vsr2158 commented 3 months ago

Currently the Position shows column of Market Value and Total costs. It also does a grand total at the bottom row. However in a real account one could have positions in several currencies , hence showing the currency column + converting to USD and then doing grand total would make more sense in the future.

mattsta commented 3 months ago

You are correct. Nothing about currencies is considered in summaries or reports currently (and all orders default to USD too unless doing forex/cash transactions).

Anywhere there's a sum of values, it's just a quick reference helper like adding a 'Total' row to a spreadsheet. Any final report sums may not be accurate if your account has multiple currencies or multiple sub-accounts, etc.