Coder Social home page Coder Social logo

Comments (11)

sigaloid avatar sigaloid commented on April 28, 2024 1

The stock data is loaded into memory. That's all the command does, since many different things can be done with it once it's loaded. Run view or see this for more info: https://github.com/DidierRLopes/GamestonkTerminal#features-

from openbbterminal.

mxjchen avatar mxjchen commented on April 28, 2024 1

Yes this works! updated matlibplot to 3.3.3 no more segmentation fault, thank you!

from openbbterminal.

mxjchen avatar mxjchen commented on April 28, 2024

I see, so the correct way is to run load then run view?
In that case I get segmentation fault, any ideas?

load -t GME -s 2020-02-25 -i 5
Loading Intraday 5min GME stock with starting period 2020-02-25 for analysis.

view -t GME -s 2020-02-25 -i 5
zsh: segmentation fault python3 gamestonk_terminal.py

from openbbterminal.

DidierRLopes avatar DidierRLopes commented on April 28, 2024

Hey @mxjchen ,

Exactly what @sigaloid said.

So, once you do:

load -t GME -s 2020-02-25 -i 5

you're loading GME stock starting of 25 Feb 2020 intraday 5 minutes.

When you run view. You don't need to redefine such arguments, since that's already what is loaded in the memory.

When you look for intraday data (-i 5) it means that instead of getting the usual 1 per day [open, close, high, low, volume] columns, you get 1 of these every 5 minutes.

Since market is open for 6h30m = 390m. You get 78 data rows per day (390/5). So your request of getting all 5minutes intraday GME data since last year, may be too much memory for your machine.

Try with a smaller period of time, e.g. 2021-01-01. Or without the intraday flag (-i).

Let me know if it worked.

from openbbterminal.

mxjchen avatar mxjchen commented on April 28, 2024

Thanks man, so I took your suggestion and tried to just for one day and without the intraday flag, but I still get the segmentation flag, any ideas? :( or if there a way for me to provide more logs?

load -t GME -s 2021-02-26
Loading Daily GME stock with starting period 2021-02-26 for analysis.

view -t GME
zsh: segmentation fault python3 gamestonk_terminal.py

from openbbterminal.

sigaloid avatar sigaloid commented on April 28, 2024

Run just view

from openbbterminal.

mxjchen avatar mxjchen commented on April 28, 2024

Yea its the same as with just view..

load -t GME -s 2021-02-26
Loading Daily GME stock with starting period 2021-02-26 for analysis.

view
zsh: segmentation fault python3 gamestonk_terminal.py

from openbbterminal.

sigaloid avatar sigaloid commented on April 28, 2024

Try a different shell. Are you on mac or linux? Running those commands works for me.

from openbbterminal.

mxjchen avatar mxjchen commented on April 28, 2024

I'm on mac, tried bash and zsh and same result. But I am running on virtual environment in order install everything in requirements.txt, do you also keep running gamestonk_terminal.py in virtual environment after installation?

from openbbterminal.

sigaloid avatar sigaloid commented on April 28, 2024

No, I run it in regular python.

from openbbterminal.

shadycuz avatar shadycuz commented on April 28, 2024

@mxjchen
Can you look at #4 ? I think they had the same issue and figured it out.

from openbbterminal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.