You are viewing a single comment's thread:

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

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.

4E-8 BEE
1 comments

better: .csv file

I was thinking at this one, even if I'm tempted to explore SQLite, even if it's clearly too much for what I need... but it might be a good opportunity to learn something new :)

0E-8 BEE