ronaldlam / Autotrageur

Automated arbitrageur
2 stars 1 forks source link

Stat Tracking, DB Schema changes, Checkpoint changed #260

Closed jaonewguy closed 5 years ago

jaonewguy commented 5 years ago

For #243

Still need:

Would really like:

Some discussion in looking ahead:

Questions:

ronaldlam commented 5 years ago

Regarding the questions:

jaonewguy commented 5 years ago

A: I think the raw numbers will be more useful instead of rate, since it gives us info about uptime too. Something like total_polls and failed_polls. Are you thinking of num_fatal_errors of being incremented every time the bot dies? This is a tentative yes from me, it'll tell us how often we expect to go down overall.

Re: total_polls and failed_polls relating to uptime. Perhaps this should be held back until the exchange-specific "successes" and "fails" due to Exceptions are decided. I am not sure how useful the current poll statistic is right now, since we are missing all the NetworkError retries. Re: num_fatal_errors This would be easy to add, and if you think it is useful, I think I will just add this column, and track it at autotrageur level.

Q: How about other stats like "uptime" that are calculated in reporting now? Should that just be in the fcf_measures table? A: That would be nice. It would be significantly more accurate too.

Also trade_count can be tracked through stat_tracker, which is fetched manually through reporting. Would that be useful or is it just easily fetched from DB anyway.

ronaldlam commented 5 years ago

trade_count is a tossup for me, you can use your discretion

jaonewguy commented 5 years ago

Unsure why, but it seems like I can't access the link from "Details" link of the CI now. I do see that it was run on worker1 10 hours ago though.

ronaldlam commented 5 years ago

Remember to update the logging_utils path with the fp_libs udpate