-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Add IB Tiered Fee Model #8446
base: master
Are you sure you want to change the base?
Add IB Tiered Fee Model #8446
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Leaving a few comments.
_monthlyTradeVolume = _monthlyTradeVolume.ToDictionary(kvp => kvp.Key, _ => 0m); | ||
} | ||
// Reprocess the rate schedule based on the current traded volume in various assets. | ||
ReprocessRateSchedule(_monthlyTradeVolume[SecurityType.Equity], _monthlyTradeVolume[SecurityType.Future], _monthlyTradeVolume[SecurityType.Forex], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be done on month rollover only as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah, the fee will change by sufficient volume/dollar volume traded within that month. It should be sensitive to per order level.
MarketOnOpenOrder(_spy, 30000); | ||
MarketOnOpenOrder(_aig, 30000); | ||
MarketOnOpenOrder(_bac, 30000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these orders filled on the next day or right away? If the latest, might as well use MarketOrder? Same for the MarketOnClose ones
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They should be filled right away at 9:30am, same for market on close at 4pm
Description
Related Issue
Motivation and Context
Missing feature
Requires Documentation Change
Add to Writing Algorithms / Reality Modeling / Transaction Fee / Supported Models
How Has This Been Tested?
Types of changes
Checklist:
bug-<issue#>-<description>
orfeature-<issue#>-<description>