Open jaredbroad opened 4 years ago
Would be great to get some attention to this. The web app even has an "Exposure> Equity Long/Short Ratio" chart for when the algo sells a security one does not possess.
For interactive brokers the cost modeling would be 0.25% annualized:
Then IIUC there are additional costs for interest that depend on the cash in your account. Would be nice to model this too but seems harder.
The short fee rate can be retrieved via FTP automatically. Link: https://www.interactivebrokers.com/campus/ibkr-api-page/twsapi-doc/#shortable
Here is its documentation and tutorial link: https://ibkr.info/it/article/2024
@cheukhin1024, LEAN has this information: Short Availability > Supported Providers > Interactive Brokers Provider. This issue is open because it has not been modeled yet, meaning that LEAN doesn't use the information of the InteractiveBrokersShortableProvider and apply the cost to the cashbook.
Expected Behavior
Fees paid for a hard to borrow stock
Actual Behavior
No fees paid for shorts.
Potential Solution
Obtain hard to borrow list; model fees.
Reproducing the Problem
Short hard to borrow stocks
Checklist
master
branch