| 3 | from validate import String, Integer, Float |
| 4 | |
| 5 | class Ticker(Structure): |
| 6 | name = String() |
| 7 | price = Float() |
| 8 | date = String() |
| 9 | time = String() |
| 10 | change = Float() |
| 11 | open = Float() |
| 12 | high = Float() |
| 13 | low = Float() |
| 14 | volume = Integer() |
| 15 | |
| 16 | from cofollow import consumer, follow, receive |
| 17 | from tableformat import create_formatter |