In case the trace was close in length to overfilling one line such that if multiple variable fields are close to maximal length then it might push the output to a second line causing the blank line, I retried by adding nine more characters to the end of each line:
print(f'current_date is {current_date}, common date is {datetime.utcfromtimestamp(current_date*86400).strftime("%Y-%m-%d")}, trade status is {trade_status}, and control flag is {control_flag}123456789.')I got the same result: only the occasionally blank line interspersed among the output.