Coder Social home page Coder Social logo

Memory error about stocktrends HOT 5 CLOSED

chillaranand avatar chillaranand commented on June 25, 2024
Memory error

from stocktrends.

Comments (5)

jaipalvyza avatar jaipalvyza commented on June 25, 2024

Traceback (most recent call last):
File "C:\Users\JOY\Desktop\kiteconnect\Database\Crude_Renk_0905.py", line 148, in
main()
File "C:\Users\JOY\Desktop\kiteconnect\Database\Crude_Renk_0905.py", line 131, in main
testdata = renko.get_ohlc_data()
File "C:\Users\JOY\Desktop\kiteconnect\Database\stocktrends\indicators.py", line 37, in get_ohlc_data
self.period_close_bricks()
File "C:\Users\JOY\Desktop\kiteconnect\Database\stocktrends\indicators.py", line 83, in period_close_bricks
data.append(r)
MemoryError

from stocktrends.

ChillarAnand avatar ChillarAnand commented on June 25, 2024

@jaipalvyza Thanks for creating bug report.

Can you tell the size of dateframe your are loading and your system memory?

from stocktrends.

jaipalvyza avatar jaipalvyza commented on June 25, 2024

dataframe size is around 2000 and memory is 8gb in my system

from stocktrends.

ChillarAnand avatar ChillarAnand commented on June 25, 2024

I have tested with ~4000 rows csv, but it seems working fine. Can you share that data you are using?

Right now calculations are bit inefficient but with 2000 rows and 8GB memory, it shouldn't be throwing this error.

from stocktrends.

ChillarAnand avatar ChillarAnand commented on June 25, 2024

Closing this issue. If you are still facing it, please re-open it.

from stocktrends.

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.