The multiplier affects your winnings and losses and not the needed margin.
Posts made by backtrader
Am I missing something?
Yes, you are trying to use something without even having looked at literature for it.
The definition of the
LaguerreRSIhas no period. This was a contribution taken at the very beginnings and
periodwas simply there.
RE: Open Order's side as a Factor on the Strategy condition
open/current of an open order,
Sorry you are obviously not looking for what open orders have.
for instance on the below I would like to apply it only if "and current position is short (sell side)".
You are looking for the actual position. Use the
sizeof the position (which is being tested as a boolean but has a sign and is used in several samples)
RE: Bracket order persistence in live trading (IB) across sessions
You have to copy the attributes.
Strategies don't need any kind of repopulation. As for the broker, you will have to add the orders without triggering spurious notifications which would be a kind of false positives given to the strategies
RE: Got nan value when resampling my own lines in data
The resampler doesn't know anything about your extra lines and that's why the values aren't carried forward.
RE: Save optimization results for plotting
Is there an easy way to export those results for plotting, for example?
Not really. Plotting was meant to plot single-run results. You could always pickle the results, but that won't help with plotting
but did not find how to extract the ending value of the broker for each set of parameters.
Save the result during the
stopmethod of the strategy.
RE: Resample live feed from CCXT problem
This seems related to your usage of the
CCXTfork, as per your other message:
The fork will have to handle it.
RE: cerebro.plot() does not work with Anaconda / IPython
Not being even a beginner in the usage of
Anaconda has nothing to do with this. It's a distribution.
Jupyter is the graphical frontend and as such meant for plotting
IPython is focused on interactive Python, i.e.: it is a console.
Try plotting disabling the
ipythonautomatic detection when calling