Trying to assign the datetime.datetime.now() value to the self.startDate variable, but getting the error:
TypeError: 'datetime.datetime' object is not callable
!/usr/bin/python3
import datetime
import os
class TradingSystem:
def __init__(self):
self.startDate = datetime.datetime.now()
ts = TradingSystem()
print("Started trading system, date: {}".format(ts.startDate()))