python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Vectorbt - Importing an indicator from Pandas_ta and setting entries and exits
I am trying to import the VWAP indicator from pandas_ta and test a simple strategy utilizing it with vectorbt.
My code so far is:
import vectorbt as vbt
binance_data = vbt.BinanceData.load('ADABUSD_1...
Krzysztof Jakubowski
Votes: 0
Answers: 1
Conditionally set data frame values based on logic
I have a data frame that has price of an asset, a bunch of trigger prices and some price target parameters.
target_A = +2
target_B = -1
price trigger
2017-08-17 04:00:00...

blueorchid
Votes: 0
Answers: 1
long and short strategy with macd indicator in Backtrader
I just switched from Matlab to python and even newer to the backtrader library for backtestingtrading strategies. My questions might seem obvious.
My problem seems similar to this :
https://community....
AMT456
Votes: 0
Answers: 1
My strategy.entry() is not executing at all
I've just recently started pine scrip and I wrote this code backtest a strategy, however the strategy.entry() function seems not to be working. I've even changed it such that it has nothing to do with...
Fireshot2002 Fireshot2002
Votes: 0
Answers: 1