trying to print trade execution date
Charles Lau last edited by
hello! I am new to backtrader and am wondering how i can print out the date that each trade is made
for example if my strategy is running through 1.1.21-3.1.21 and makes a trade on 1.2.21 how can i make it print 1.2.21?
Thank you !
Jewl Nester last edited by
Although buying jewelry can accentuate your natural beauty , it’s far cheaper than most women expect . Taking steps toward an affordable style can make you look more attractive without denting your wallet too much on online store.
You can use self.data.datetime.datetime() to return a datetime object with the timestamp of the last datapoint avaiable on the data