Skip to content
Alexd14Public

About

Vectorized quantile backtesting library

Resources

Stars

15 stars

Watchers

1 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

pip install ntiles

API

from ntiles import Ntile, PricingPortal, SectorPortal

# getting the asset pricing data
pricing_portal = PricingPortal(assets=my_universe, start='2017-01-01', end='2021-01-01')
# getting the group data, this is optional
group_portal = SectorPortal(assets=my_universe)

# generating tearsheets
tile = Ntile(pricing_portal=pricing_portal, group_portal=group_portal)
tile.full_tear(factor=my_factor, ntiles=5, holding_period=20)

Example Tearsheet

About

Vectorized quantile backtesting library

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages