Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/owocki/pytrader
/ print_and_log
Function
print_and_log
history/tools.py:7–10 ·
view source on GitHub ↗
(log_string)
Source
from the content-addressed store, hash-verified
5
6
7
def
print_and_log(log_string):
8
with
open(settings.LOG_FILE,
"a"
)
as
myfile:
9
myfile.write(log_string +
"\n"
)
10
print(log_string)
11
12
13
def
get_utc_unixtime():
Callers
9
predict_v2
Function · 0.90
handle
Method · 0.90
handle_open_orders
Method · 0.90
act_upon_recommendation
Method · 0.90
run_predictor
Method · 0.90
get_traders
Method · 0.90
handle
Method · 0.90
do_classifier_test
Function · 0.90
do_prediction_test
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected