btmura / ponzi2 Goto Github PK
View Code? Open in Web Editor NEWponzi2 is a stock chart viewer written in Go using OpenGL and GLFW.
Home Page: https://ponzi2.io
License: GNU General Public License v3.0
ponzi2 is a stock chart viewer written in Go using OpenGL and GLFW.
Home Page: https://ponzi2.io
License: GNU General Public License v3.0
I am using MacOS. The error is
VersionUnavailable: Requested OpenGL version 4.5, got version 4.1
How can I request OpenGL 4.1
instead of 4.5
I followed your Youtube tutorial on getting glfw setup and I even tried running from the commit back in Feb 2017 when you published your video, but both resulted in errors. Can you help?
.\ponzi2.exe
F0810 11:27:11.467836 996 app.go:15] glGetnCompressedTexImage
goroutine 1 [running, locked to thread]:
github.com/golang/glog.stacks(0xc042087400, 0xc042192000, 0x42, 0x98)
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
I have downloaded exe ( v2.0.1) and trying to run on Windows 10 but same is not Running . Any setting changes that we have to do to make it run ?
The UI that would be most useful is maybe for the user to provide initially a file with the groups
e.g.
bigcos -> msft, aapl, goog, fb
semis -> a, b, c
saas -> d, e, f
silver -> h, i, j
Then the group names should be in the side pane (bigcos, semis, saas, ..) and by clicking one of those, the main pane could show either
option 1) the first stock, and the other ones shown via the mouse wheel
option 2) fill the first four or six in a grid, and then use the mouse wheel to scroll to the next 4 or 6
This would require remapping the mouse wheel function, which is a good idea anyway, because in the future you may want to have daily, weekly, full range and intraday accessible through the top bar
To come up with ideas is actually trivial compared to actually implement them, so thank you again.
Tried to run your release from last year and also build from code. Any hints appreciated!
Thank you for open sourcing your project.
Linux: 4.18.19-100.fc27.x86_64
./ponzi2
No protocol specified
2020/08/10 19:06:16 PlatformError: X11: Failed to open display :0
panic: NotInitialized: The GLFW library is not initialized
go get -u github.com/btmura/ponzi2/...
pkg-config --cflags gl gl
Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gl', required by 'virtual:world', not found
Package 'gl', required by 'virtual:world', not found
pkg-config: exit status 1
google.golang.org/grpc/internal/credentials
/home/go/external/src/google.golang.org/grpc/internal/credentials/spiffe.go:36:70: state.PeerCertificates[0].URIs undefined (type *x509.Certificate has no field or method URIs)
/home/go/external/src/google.golang.org/grpc/internal/credentials/spiffe.go:40:47: state.PeerCertificates[0].URIs undefined (type *x509.Certificate has no field or method URIs)
/home/go/external/src/google.golang.org/grpc/internal/credentials/spiffe.go:58:35: state.PeerCertificates[0].URIs undefined (type *x509.Certificate has no field or method URIs)
github.com/go-gl/glfw/v3.2/glfw
In file included from /home/go/external/src/github.com/go-gl/glfw/v3.2/glfw/native_linbsd.go:9:0:
./glfw/include/GLFW/glfw3native.h:112:11: fatal error: GL/glx.h: No such file or directory
#include <GL/glx.h>
^~~~~~~~~~
compilation terminated.
Getting Error in master
branch.
ponzi2.go:28 glGetnCompressedTexImage
Added ponzi2.flags
and used Ctrl+Shift+B
I ran go get -u github.com/btmura/ponzi2/...
with a successful installation on macOS Big Sur (x64). After running ponzi2
I get the following:
0228 16:13:49.727603 31803 app.go:15] VersionUnavailable: Requested OpenGL version 4.5, got version 4.1
goroutine 1 [running, locked to thread]:
github.com/golang/glog.stacks(0xc000095b00, 0xc0001b8820, 0x6b, 0xc1)
/Users/abhobe/go/pkg/mod/github.com/golang/[email protected]/glog.go:769 +0xb9
github.com/golang/glog.(*loggingT).output(0x482b4c0, 0xc000000003, 0xc0000b20e0, 0x46143dc, 0x6, 0xf, 0x0)
/Users/abhobe/go/pkg/mod/github.com/golang/[email protected]/glog.go:720 +0x3b3
github.com/golang/glog.(*loggingT).printDepth(0x482b4c0, 0x3, 0x1, 0xc0000a7f28, 0x1, 0x1)
/Users/abhobe/go/pkg/mod/github.com/golang/[email protected]/glog.go:646 +0x12d
github.com/golang/glog.(*loggingT).print(...)
/Users/abhobe/go/pkg/mod/github.com/golang/[email protected]/glog.go:637
github.com/golang/glog.Fatal(...)
/Users/abhobe/go/pkg/mod/github.com/golang/[email protected]/glog.go:1128
github.com/btmura/ponzi2/internal/app.Run(0xc000032100)
/Users/abhobe/go/pkg/mod/github.com/btmura/[email protected]/internal/app/app.go:15 +0xbf
main.main()
/Users/abhobe/go/pkg/mod/github.com/btmura/[email protected]/ponzi2.go:13 +0x86
I have never used go before, so I'm not sure where I need to change the program files to match the existing openGL version.
The link to tutorials (ponzi2.io/tutorials) attached in readme.md is not working -- i tried ponzi2.io/tutorials/ (note the trailing slash) and it works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.