MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / Ticker

Class Ticker

Solutions/8_2/ticker.py:4–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2from structure import Structure
3
4class Ticker(Structure):
5 name = String()
6 price = Float()
7 date = String()
8 time = String()
9 change = Float()
10 open = Float()
11 high = Float()
12 low = Float()
13 volume = Integer()
14
15if __name__ == '__main__':
16 from follow import follow

Callers

nothing calls this directly

Calls 3

StringClass · 0.50
FloatClass · 0.50
IntegerClass · 0.50

Tested by

no test coverage detected