Skip to content
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

Separating Capital from Different Accounts #39

Open
4 tasks done
DerekMelchin opened this issue Nov 28, 2022 · 0 comments
Open
4 tasks done

Separating Capital from Different Accounts #39

DerekMelchin opened this issue Nov 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@DerekMelchin
Copy link
Contributor

Expected Behavior

If we deploy an algorithm with an IB account ID, LEAN loads only the capital from that account ID.

Actual Behavior

LEAN loads the capital from all of the account ID's under your IB user name. For example, say we have an IB user with a trading account that contains $10 USD and a TFSA (tax-free savings account) account that is empty. If we deploy an algorithm using the trading account ID or the TFSA account ID, the Holdings tab in the live results page shows $10 USD.

Potential Solution

Only read the capital from the account with the provided account ID.

Reproducing the Problem

Deploy to IB when you have an account with multiple account IDs.

System Information

QC Cloud.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants