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

Class Ticker

Solutions/8_3/coticker.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
15from cofollow import consumer, follow
16from tableformat import create_formatter

Callers

nothing calls this directly

Calls 3

StringClass · 0.50
FloatClass · 0.50
IntegerClass · 0.50

Tested by

no test coverage detected