-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Position cost basis was calculated incorrectly for Futures
For futures, we need to divide the position’s commission by the contract size to get a per-unit commission in order to properly update the position’s cost basis.
- Loading branch information
Jean Bredeche
committed
Apr 20, 2017
1 parent
0abd40c
commit 0cc81a5
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters