MCPcopy Index your code
hub / github.com/dabeaz-course/practical-python / add_data

Method add_data

Work/Data/stocksim.py:69–70  ·  view source on GitHub ↗
(self,record)

Source from the content-addressed store, hash-verified

67 self.change = 0
68 self.date = ""
69 def add_data(self,record):
70 self.history.append(record)
71 def reset(self,time):
72 self.time = time
73 # Sort the history by time

Callers 1

add_historyMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected