Troubleshoot Rust CSV File Creation

Job ID: 38405170

Budget: $250 – $750 AUD

Do you have experience programming in Python and Rust? I have a Rust program from GitHub that I want to get started with. Here's the link:
https://github.com/coderaidershaun/49-bellman-ford-binance-arb

I managed to start the program, and it runs fine, but I'm facing an issue. It’s supposed to create a CSV file, but it’s not doing that. In the src folder, there’s a file called arb_detection.rs, and the CSV file creation should be happening at line 238, but it's not working.

I really need the CSV file to check the signals. Any ideas on how to fix this?