vectorbt
vectorbt copied to clipboard
Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.
I'm testing new indicator, how can I make vector understand its entry exit logics? `def bull_bear_indi(stock):` `bull_high = []` `bull_low = []` `bull_yellow =[]` `bull_blue = []` `bull_lblue = []`...
Hi! I'm using `Portfolio.from_signals` and trying to set up a moving stop-loss using supertrend. So for long position I want my stop-loss to move up with supertrend. I use `adjust_sl_func_nb`...
Hi I am new to vbt and github! Hope I am posting in the right spot. I am cross-checking the results of a simple MA crossover strategy in vbt vs...
Hey I have a problem in Telegram-Bot "AttributeError: module 'vectorbt' has no attribute 'TelegramBot'" plese help me to fix it. ps. Python Telegram Bot == 13.4.1
Hello there, Can someone check whether from vectorbt perspective this is correctly set up to backtest a long/short strategy? The performance seems too good that's why :). To generate entries...
Hi, thanks for the great library and all your hard work. I am really struggling to get my head around `from_order_func`. Specifically around stop orders. I want to place and...
Friend help me, when I run the function in the factory it gives me the following error, if i take the atr and atr_mult out of the ce function if...
`TTMIndicator = vbt.IndicatorFactory.from_pandas_ta('TTM_TREND')` `ttm = TTMIndicator.run(ohlcv['High'], ohlcv['Low'], ohlcv['Close'], 6)` Above code gives below error: > ValueError: Cannot reshape a 3-dimensional array to 2 dimensions
I wanted to backtest using RSI, but the values seem to be different as compared to PandasTA or tradingview. Values from tradingview match the PandasTA `import vectorbt as vbt` `import...