Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dabeaz-course/python-mastery
/ stocksim.py
File
stocksim.py
Data/stocksim.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python
2
# stocksim.py
3
#
4
# Stock market simulator. This simulator creates stock market
Callers
nothing calls this directly
Calls
8
MarketSimulator
Class · 0.85
minutes
Function · 0.85
BasicPrinter
Class · 0.85
LogPrinter
Class · 0.85
add_history
Method · 0.80
register
Method · 0.80
run
Method · 0.80
reset
Method · 0.45
Tested by
no test coverage detected