back-testing Questions

7

I'm trying to learn backtesting.py, when I run the following sample code, it pops up these errors, anyone could help? I tried to uninstall the Bokeh package and reinstall an older version, but it d...
Mock asked 6/11, 2022 at 10:17

3

I am doing some backtesting for some trading strategies on the stock market on a pandas dataframe and I would like to set a trailing stop loss of 1% away from the entered price. If the stock price ...
Bigot asked 3/7, 2019 at 2:1

1

Thank you all for your help so far. I have been coding many different strategies in pinescript so far, and I have read through pinescript manual and many google articles, but I am still confused as...

3

I want to optimise indicator parameters in a TradingView Pine backtest. This is possible with other tools, but when I search for this functionality in TradingView I don't find anything. Can a...
Telecommunication asked 26/2, 2018 at 23:41

3

I'm trying to use PyAlogoTrade's event profiler However I don't want to use data from yahoo!finance, I want to use my own but can't figure out how to parse in the CSV, it is in the format: Times...

2

Solved

I am trying to print the status of the progress of an optimization algorithm using the tqdm module available in Python, however, every time I try to update it, it prints the progress in a new line,...
Kesterson asked 15/9, 2020 at 19:49

1

Solved

I want to do something like this: df['indicator'] = df.at[x-1] + df.at[x-2] or df['indicator'] = df.at[x-1] > df.at[x-2] I guess edge cases would be taken care of automatically, e.g. skip th...
Stroke asked 31/1, 2019 at 2:11
1

© 2022 - 2024 — McMap. All rights reserved.