miro-ka / mosquito

Trading Bot with focus on Evolutionary Algorithms and Machine Learning
GNU General Public License v3.0
260 stars 53 forks source link

Feature request : includes the Final simulation report text in the chart generated (plot) #45

Closed flamby closed 6 years ago

flamby commented 6 years ago

Hi,

Would be great to have the Final simulation report in the chart (lower font at the placement of Simulation report title) for future export to PNG.

Keep the good work!

miro-ka commented 6 years ago

thanks for feedback. You mean that it would be useful to automatically save the report as PNG, instead of HTML?

flamby commented 6 years ago

No, i just mean embedding the text like the one below in the chart (replacing the title but w/ lower font size), so that an export to PNG will include the summary. https://www.dropbox.com/s/j7hkuil7465w9tt/Capture%20d%27%C3%A9cran%202017-08-27%2015.52.17.png?dl=0

Right now, the generated chart are readable immediatly but lacks summary (aggre result) for future reading.

miro-ka commented 6 years ago

adding more simulation info (only place I could find in plotly for en extra text was the title). Something like this?

plot_with_info

flamby commented 6 years ago

Yes, exactly. That's perfect. Thus, archiving the PNG output permit to remember the performance. In the future, we could embed more text (strategy parameters, etc.), thanks to a QRcode with a lib like this one https://pypi.python.org/pypi/qrcode I think the limit a QRcode can handle is around 4296 characters. So with a compact representation of all parameters, we could certainly embed all parameters necessary to share to someone the exact mosquito settings just by sending him the PNG ;-)

miro-ka commented 6 years ago

love the idea with the QRcode!

miro-ka commented 6 years ago

creating new Qr-code enhancement issue and closing this one.