Skip to content

Support for different base currency. #572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
josla972 opened this issue Apr 15, 2025 · 2 comments
Open

Support for different base currency. #572

josla972 opened this issue Apr 15, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@josla972
Copy link

josla972 commented Apr 15, 2025

JPY is enforced as base currency in Japan (IBKR JP / IBSJ) and so the account summary unit shows up as USD with the $-sign.

I suspect that this also affects what thetagang thinks is available in terms of cash. Would it be easy to fix this?

Account summary
│ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓ │
│ ┃ Item ┃ Value ┃
│ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩ │
│ │ Net liquidation │ $1234 │
│ │ Excess liquidity │ $1234 │
│ │ Initial margin │ $1234 │
│ │ Maintenance margin │ $1234 │
│ │ Buying power │ $1234 │
│ │ Total cash │ $1234 │
│ │ Cushion │ 124% │
│ ├───────────────────────────┼────────────┤ │
│ │ Target buying power usage │ $12345 │
│ └───────────────────────────┴────────────┘

@brndnmtthws
Copy link
Owner

Theoretically it's not hard, I just don't have a good way to test it, and the IBKR API is complete dogshit so I'm hesitant to make any changes that might break the code. If someone has access to a non-USD account and wants to test it and submit a PR, then I'm certainly open to that.

@brndnmtthws brndnmtthws added the enhancement New feature or request label Apr 16, 2025
@josla972
Copy link
Author

I can test it on a JPY account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants