Quick update
leonArdo-linux-3.7.8-b12118297 Running separate instances for each exchange (as is do usually for a while).
On bitfinex with 15 open pairs, only one margin maker running for about 3 to 5 days or so.
After stopping the margin maker, leonArdo terminates very quickly. It's a bit hard to repeat to get this to happen (and so to log it).
Maybe some problem which accumulates over time? Dunno.
Additionally, at some time it seems a strategy gets stuck at changing it's state from buy to sell or vice versa. I need to stop it (which often goes w/o a crash) and then restart it to have it working again. Sadly, at that point often leonArdo lost already a lot of stability and a crash can be expected soon.
On bittrex, having 6 open pairs and no bots running at all.
leonArdo terminates after at least 2 hours of runtime. I've tried it to have it running with strace to log for the problem but that actually prevents it from happening. That makes it even harder to find the problem.
On HitBTC, 2 open pairs, 1 to 2 margin makers running on these.
After 5 days of runtime, leonArdo gets out of sync with the API and stopped to recognize changed values in the wallets after an order get filled.
I still need more ways to have efficient/meaningful logging. What about Qts integrated logging facilities? I've seen that leonArdo looks for a specific ini file for the configuration of it but sadly does not recognize if i set that up for full logging (whilst other software i use gets very noisy in the terminal..
)
Besides that; there is still the new usenet/google group i've created where we (users) can discuss these bug-reports, suggestions, best practices and such in separated posts to avoid having this thread cluttered with all of them all over.
https://groups.google.com/forum/#!forum/leonardo-usersGreetings
Hacky
Hi Hacky!
thanks for yout thorough testing. We appreciate it! The logs right after the crash would also help.
Can you confirm that you are not seeing any crashes when running it with strace?
And does it crash right after stopping the strategy? Or a couple sec, minutes later?
All the best,
Rene
As i asked where to find the logs, i got told to check the windows system logs.... Well i'm no longer using windows and still did not get any meaningful information about where to find usable logs at all. So nope, i did not check any logs... Maybe, someone of you can tell me, which exact file out of the tons of files your software creates might be the best one to start with? What about a useful implementation of the qt logging facilities maybe?
For bitfinex, it actually crashes after a distinct amount of runtime whenever i try to stop a running bot or adapt an existing order.
On HitBTC, leonardo just freezes after an unknown amount of time since i have more than one pair open steadily.
For now, poloniex seems to be the only stable variant of the exchanges (I use bitfinex, bittrex (unusable!), HitBTC and Poloniex).
I would like to help more with identifiying problems and bugs .. but having any instance running in strace makes it painfully slow and potentially even slows don API access by a significant amount, which might lead to the reason for crashing on bittrex at all but, i don't know the source and i'm not that much of a programmer at all..
I actually try to write myself some evil hacked wrapper script to be able to launch leonardo for any specific exchange and write all outputs in to separate log files and even save (copy) the logs leonardo creates on it's own to keep them for analysis. But it is going to be a really evil hack, creating file descriptors in bash to save outputs to stdout/stderr, launch leonardo halfways in background to be able to process the outputs an logs and so on...
I wish there would be a better way for this. What about some debug mode, triggered via command line parameters or so?
Hacky
Here is where to find the logs, credit to Amaralluis (from a prior post). They will contain helpful information for support to work on the issues you have uncovered.
+++
You should still report to the developers about this error.
The email is :
[email protected]and you can find the logs in the folder Leonardo located :
The .leonArdo is a hidden folder in your home directory.
If you are on Windows it's something like
C:\Users\YOURLOGINNAME\.leonArdo
On Mac OS X its
/Users/YOURLOGINNAME/.leonardo
And on Linux it's
/home/YOURLOGINNAME/.leonardo
+++
The files you would be looking for are named by their exchange and pair.
exchange-COIN-PAIREDWITH.log
if it is a demo log it will say
demo-exchange-COIN-PAIREDWITH.log
The log for an XMR-BTC pair at Bittrex would be named:
bittrex-XMR-BTC.log
Often my logs run 60+ MB so I 7z compress them for efficiency before sending them. Probably 85% of the time I will send a screen print if I think it is helpful.