Update README.md

This commit is contained in:
Jason Pan
2021-10-31 01:17:14 +08:00
committed by GitHub
parent 71f779f1ba
commit ec302cebd6
+13
View File
@@ -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)