MCPcopy
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
7def 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
13def get_utc_unixtime():

Callers 9

predict_v2Function · 0.90
handleMethod · 0.90
handle_open_ordersMethod · 0.90
run_predictorMethod · 0.90
get_tradersMethod · 0.90
handleMethod · 0.90
do_classifier_testFunction · 0.90
do_prediction_testFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected