bmino / binance-triangle-arbitrage

Detect in-market cryptocurrency arbitrage
MIT License
1.07k stars 336 forks source link

How can I fix this? mpino.final with prettyPrint does not support flushing #91

Closed chalitgubkb closed 4 years ago

chalitgubkb commented 4 years ago

Because it doesn't work. When encountering this problem, the program quits immediately.

["2020-3-13 11:38:51"] INFO : ["2020-3-13 11:38:52"] FATAL: Cannot exceed user defined execution cap of 1 executions [1584074332515] WARN : pino.final with prettyPrint does not support flushing

bmino commented 4 years ago

Good catch, you are experience two things:

  1. You have a configured execution cap of 1, and the program is respecting that and shutting down after completing one arbitrage triangle.
  2. The logging framework is choking on a formatting issue. This appears to be a known bug via pino (our logging framework) and I will address it tonight in an update.

Is your concern the log error about flushing, or the bot exiting after completing one execution?