mirror of
https://github.com/polakowo/vectorbt.git
synced 2022-03-22 01:31:39 +03:00
Update website
This commit is contained in:
@@ -374,7 +374,7 @@ dtype: object
|
||||
|
||||
```pycon title="Parse 5 highest slippage values from logs"
|
||||
>>> price = vbt.YFData.download('BTC-USD').get('Close')
|
||||
>>> slippage = np.random.uniform(0, 0.005, size=close.shape[0])
|
||||
>>> slippage = np.random.uniform(0, 0.005, size=price.shape[0])
|
||||
>>> logs = vbt.Portfolio.from_random_signals(price, n=5, slippage=slippage, log=True).logs
|
||||
|
||||
>>> req_price_ma = logs.map_field('req_price')
|
||||
|
||||
@@ -27,6 +27,7 @@ Note: you must run the notebook to play with the widgets.
|
||||
### Articles
|
||||
|
||||
- [Stop Loss, Trailing Stop, or Take Profit? 2 Million Backtests Shed Light](https://polakowo.medium.com/stop-loss-trailing-stop-or-take-profit-2-million-backtests-shed-light-dde23bda40be)
|
||||
- [SuperFast SuperTrend](https://polakowo.medium.com/superfast-supertrend-6269a3af0c2a?source=friends_link&sk=2e7e3846b72a9e2283ade8b210664d1c)
|
||||
|
||||
### Getting Help
|
||||
|
||||
|
||||
Reference in New Issue
Block a user