I want to make a script to be able to backtest the profits of buying a basket of cryptocurrencies or index.
You must be able to choose start date and end of the backtest, choose between independent currencies or an index such as the top 10 (per marketcap) top 30, top 50, top 100 .... that includes coins that enter and leave the index daily.
It must be possible to enter and take into account the exchange costs.
It will use the api of [login to view URL]
You must be able to configure the% of each currency in the index: Individually, all the same percentage, or the% that corresponds to the weight in the total marketcap.
You must be able to see the result graphically,
You should be able to treat the index as one more currency and be able to back-test different simple strategies (price crossing with Hull's MA should be programmed)
The backtest must include the portfolio rebalance to the percentage originally assigned (daily, weekly, biweekly, monthly ...)