RE: RE: [ENG/ITA] Earning HIVE Thanks to My Scripts: Bridges Arbitrage and Grid Trading
You are viewing a single comment's thread from:

RE: [ENG/ITA] Earning HIVE Thanks to My Scripts: Bridges Arbitrage and Grid Trading

Words
82
Reading
1 min
1y

I think you are doing fine.
When you need callbacks, you'll then figure it out.

keep track of completed operations, so I can automatically calculate whether the script is generating a profit or not.

easiest solution: write to .txt or .log file.

with open('somefile.txt', 'a') as the_file:
    the_file.write('Hello\n')

better: .csv file

even better (overkill rn): SQLite (or any other DB)
...this is where my posts kick in.
When you want the thing as a service and have n customers, it's getting ridiculous and problematic to have n files.