Skip to content

Introduction to QuantRocket's borrow fees dataset. Uses Alphalens to analyze borrow fees as an alpha source and uses Moonshot to backtest a strategy that shorts stocks with high borrow fees while modeling borrowing costs.

License

Notifications You must be signed in to change notification settings

quantrocket-codeload/borrow-fees-alpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

borrow-fees-alpha

Introduction to QuantRocket's borrow fees dataset. Uses Alphalens to analyze borrow fees as an alpha source and uses Moonshot and Zipline to demonstrate ways to incorporate borrow fees into long or short strategies.

Clone in QuantRocket

CLI:

quantrocket codeload clone 'borrow-fees-alpha'

Python:

from quantrocket.codeload import clone
clone("borrow-fees-alpha")

Browse in GitHub

Start here: borrow_fees_alpha/Introduction.ipynb


Find more code in QuantRocket's Code Library

About

Introduction to QuantRocket's borrow fees dataset. Uses Alphalens to analyze borrow fees as an alpha source and uses Moonshot to backtest a strategy that shorts stocks with high borrow fees while modeling borrowing costs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published