mirror of
https://github.com/awwesomeman/vectorbt-visualization.git
synced 2026-08-07 08:07:43 +00:00
Update README.md
This commit is contained in:
@@ -1,2 +1,15 @@
|
|||||||
# vectorbt_visualization
|
# vectorbt_visualization
|
||||||
This project aims to visualize vectorized back testing results with interactive plot and other detailed information..
|
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()
|
||||||
|
|
||||||
|
```
|
||||||
|

|
||||||
|
|||||||
Reference in New Issue
Block a user