MCPcopy Index your code
hub / github.com/dabeaz-course/python-mastery / make_record

Method make_record

Data/stocksim.py:121–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 self.update()
120
121 def make_record(self):
122 return [self.name,round(self.price,2),self.date,minutes_to_str(self.time),round(self.change,2),self.open,round(self.high,2),
123 round(self.low,2),self.volume]
124
125class MarketSimulator(object):
126 def __init__(self):

Callers 1

runMethod · 0.45

Calls 1

minutes_to_strFunction · 0.85

Tested by

no test coverage detected