btmura / ponzi2

ponzi2 is a stock chart viewer written in Go using OpenGL and GLFW.
https://ponzi2.io
GNU General Public License v3.0
80 stars 12 forks source link

Testing latest release on Linux FC27 #6

Open jojo05 opened 4 years ago

jojo05 commented 4 years ago

I really like this project. These are some issues I had which may be due to Linux:

Another option I would provide is to document how to fetch the stored prices in mongo, so that users could build all kinds of third party tools to analyze the time series, using ML or simple rules. Eventually these offline analyses could be also shown in the charts, so you would be building a full platform for investors or traders.

Thanks again

btmura commented 4 years ago

Hi jojo,

Thanks for your feedback!

  • the vertical price axis seems wrong for stocks with lower prices. I checked with SQ trading around 140, and the labels seemed around 10 off

I've been changing the price bars and candle sticks to be shown in a semi-log scale, but I haven't fixed the labels on the right-hand side yet. Been sort of stuck thinking about the algorithm to show nice even round numbers on the scale, since it's been said that traders like these special round numbers like 100, 1000, etc.

  • the light grid horizontal spacing seems to have one column every three of slightly bigger size

I think this is because the algorithm draws a vertical line when it detects that the week has changed. Sometimes there are holidays which can make a week shorter.

  • the daily buy column shows in blue instead of standard green

I've been changing the colors to match graphs on investors.com which I have been using. What I learned from watching one of their videos is that the color choice may be to match the US flag to remind ourselves of the country's entrepreneurial environment that will lead to potential stock opportunities. :-)

  • using permanent caching seems almost a necessity as the IEX free tier consumes a lot of messages for historical quotes

Yeah, the data is stored in some local file storage at the moment to avoid eating up the free quota.

Another option I would provide is to document how to fetch the stored prices in mongo, so that users could build all kinds of third party tools to analyze the time series, using ML or simple rules. Eventually these offline analyses could be also shown in the charts, so you would be building a full platform for investors or traders.

Yes, that's a great idea. Right now the data is stored in some local binary files in the GOB format. I could add a command line tool under the cmds folder to extract it to a CSV and handle other formats.

In the future, I'd like to create a separate project for the ponzi2 server that would use Mongo and periodically refresh the stock data on the server-side, so the client doesn't have to do it. The use case is I like to use ponzi2 at work and at home and don't want to use up quota for redundant queries. I will take a look at that after the next release which needs to fix the scales on the right side and allow the user to set the API tokens without setting a flag.