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

Check if script can work without Lots #36

Open
jamsix opened this issue Mar 2, 2021 · 2 comments
Open

Check if script can work without Lots #36

jamsix opened this issue Mar 2, 2021 · 2 comments
Assignees

Comments

@jamsix
Copy link
Owner

jamsix commented Mar 2, 2021

This is a simplification task. See if you still need Lots in IB XML outputs or you could pull all the data from Trades only.

@jamsix jamsix self-assigned this Mar 2, 2021
@pronebird
Copy link
Contributor

pronebird commented Feb 22, 2023

I figured that trades normally contain the average price and lots are basically "fills". So if you have a trade to sell 2 shares and you get one 1 share sold at $10 and another at $15 then the trade will have a price set to $12.50 with the quantity set at 2. I am still poking around all that and I'll share my findings later on. But if you could ditch lots and rely solely on trades then perhaps tax reports could be more compact. It's mind numbing for me to go through dozens of pages of trade reports and verify that everything is correct. I am planning to automate that this year.

@jamsix
Copy link
Owner Author

jamsix commented Feb 22, 2023

Thanks @pronebird

Yeah, things get complex and this is one of those "we will look into it before the next tax season" things :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants