Run a strategy

Start from an example or paste your own. Declare tunable numbers in PARAMS and return target weights from on_bar(ctx, data). How strategies run

Imports: numpy, pandas and the standard math modules. Full list Ctrl + Enter to run