@laurent-michelizza It would be great if you share the upgraded version
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
S
Best posts made by suresh_trader
-
RE: Backtesting UI
Latest posts made by suresh_trader
-
RE: Cancelling orders get UnboundLocal Error
@Osofuego This is a simple and very good example for cancelling all pending orders. Thanks a lot
-
RE: Cancel Order
@ backtrader. How to cancel all the pending stop and limit order by end of the day which is not executed due to the market price not reaching the order price level.
- Is there any way to cancel all such order without passing order.ref as an argument if this is not possible
*How do I retrieve order.ref for all the pending order programmatically. Example code will be appreciable
Thanks
- Is there any way to cancel all such order without passing order.ref as an argument if this is not possible
-
RE: Backtesting UI
@laurent-michelizza It would be great if you share the upgraded version
-
Print Date column from the date is in Float (737069.9999999999 ). How to get the correct date format while print
def __init__(self): self.datadate = self.datas[0].datetime
def next(self):
print(self.datadate[0])if name == 'main':
data = btfeeds.GenericCSVData(
dataname=datapath,
fromdate=datetime.datetime(2013,1,1),
#dtformat=('%Y-%m-%d %H:%M:%S'),
dtformat=('%m/%d/%Y'),
timestamp=0,
time=1,
high=3,
low=4,
open=2,
close=5,
volume=6,
timeframe= bt.TimeFrame.Days,
compression= 1
)