keep-starknet-strange / backlog

Keep Starknet Strange projects backlog and ideas
MIT License
3 stars 0 forks source link

Indices, rebalancing portfolios #10

Open lana-shanghai opened 8 months ago

lana-shanghai commented 8 months ago

A smart contract in Cairo that allows users to create indices and to allow people to put in money according to a corresponding strategy.

Simple example, top 10 cap based rebalancing. Every month a portfolio is adjusted to match the proportions of the caps of the top 10 tokens.

How does rebalancing work? If the rebalancing is made every X number of blocks, it can be triggered by using the asynchronous contracts on Madara.

Storage proofs: Backtesting using access to historical data using Herodotus. For example, provide proof that this strategy indeed was or would have been the best in the last bull cycle.