diff --git a/README.md b/README.md index 250c2b8..d235159 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ # vectorbt_visualization This project aims to visualize vectorized back testing results with interactive plot and other detailed information.. + +# Demo code + +``` python +# ma strategy +trade = My_Strategy() +trade.get_stock('2303',start='2021-01-01',end='2021-07-15',freq='30T') +trade.MA() +df = trade.run() +trade.plot() + +``` +![image](https://user-images.githubusercontent.com/40668464/139542711-ca77cb53-9696-4fdd-a2d5-27cf6f4c6a6d.png)