Comments (2)
Are you still experiencing this issue?
from stonks.
Hi, ... yes? We're still on the same version as when reported (1.0.8) -- would this be fixed by recompiling, is it a bug in one of the Go dependencies pulled down during build? Use a little trial and error:
1m
and2m
cause a crash as per above- Any range I tried not listed in this code returns "no chart for this time period": https://github.com/piquette/finance-go/blob/master/datetime/datetime.go
$ stonks -i 45m AAPL
No bars were found for this time period for AAPL
I suspect the out of range is due to that, as it is slurped in, passed to GetChart() to make the object and the object passed to GenerateChart() assuming that the interval is correct. So it would seem that perhaps it's because finance-go/datetime has problems handling anything other than what's listed in their code, and maybe 1m/2m are broken? (not a programmer :) )
from stonks.
Related Issues (18)
- Some flags not working HOT 7
- panic: decimal division by 0 HOT 4
- Stonks: command not found HOT 5
- Tag Typo
- panic: decimal division by 0 for BLIAQ HOT 2
- [Feature] Squeeze into 80 columns output (currently 89) HOT 3
- Get timezone from http request and modify times accordingly
- Filename: /Users/montanaflynn/.config/stonks requires valid extension. HOT 2
- The command "Stonks" doesnt work correctly but "Stonks -d 1 spy" works fine. HOT 1
- Cool little program! But can it display indexes?
- Refactor graphs package HOT 3
- brew build issues
- http://stonks.icu/ is down
- Errors when building using `go1.19.2 darwin/arm64` on macos 12.6
- Add homebrew tap HOT 10
- Type error when running stonks HOT 2
- [Idea] Maybe add an example with wtfutil? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stonks.