-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix inconsistent spacing in stdlog #1080
Conversation
It is currently "BUY{SPACE}{SPACE}" but "SELL{SPACE}". If you have a reason for this feel free to reject, it's just making log monitoring a pain for me currently.
im sorry that is to keep logs aligned vertically, note BUY has 3 chars and SELL 4, so we need a extra space to align prices and else data in the log line |
i know it doesnt helps but this is how we usualy parse logs: Krypto-trading-bot/src/bin/trading-bot/trading-bot.test.h Lines 597 to 618 in 24baa03
otherwise maybe you can work with string length (cos data is always in the same position) instead of space separations? |
another easy solution could be to replace somehow BUY/SELL by BID/ASK (cos same length so everybody happy), but im not english expert :P |
Ah, I see. That makes sense. I'll switch to per-word and just dropping spaces, then. Thanks for the explanation ^^ |
It is currently "BUY{SPACE}{SPACE}" but "SELL{SPACE}". If you have a reason for this feel free to reject, it's just making log monitoring a pain for me currently.