GithubHelp home page GithubHelp logo

Comments (6)

BennyThadikaran avatar BennyThadikaran commented on August 19, 2024

From your log, it looks like one of the files in src/eod2_data/daily is corrupted. Adjustments are not made for amibroker files.

  1. Run py init.py -v to check the version you're running.
  2. Also run src/defs/diagnostic.py and let me know the output. It will check for common errors in the stock data files in daily folder

Meanwhile i'll try and run with amibroker set to True. See if i encounter any issues at my end.

from eod2.

BennyThadikaran avatar BennyThadikaran commented on August 19, 2024

I downloaded a fresh copy of EOD2 and used the below user.json. Data was last updated till 21st March 2024.

{
  "AMIBROKER": true,
  "AMI_UPDATE_DAYS": 30 
}

I then ran init.py with the below result. There was a ChunkedEncodingError on my first attempt fetching last 30 days amibroker data. I'll add some error handling in an upcoming update. That was unrelated to this issue.

Fetching bhavcopy for last 30 days and converting to AmiBroker format.
This is a one time process. It will take a few minutes.
100 %
Done
Downloading Files
Starting Data Sync
Converting to AmiBroker format
EOD sync complete
### Nifty PE at 22.81 ###
Index sync complete.
Makings adjustments for splits and bonus
REFEX: face value split (sub-division) - from rs 10/- per share to rs 2/- per share
Cleaning up files
0 files deleted
22 Mar 2024: Done
----------------------------------------------------
All Up To Date. Check again after 7pm for today's EOD data

Please do run the scripts as mentioned in my previous comment. That should confirm the cause of the error.

Else i can backtrack the data a few more days and run init.py to be sure its all working well

from eod2.

Prady04 avatar Prady04 commented on August 19, 2024

Version:
EOD2 init.py: version 5.1.6
Diagnostic:
Duplicate entries
20MICRONS.CSV
21STCENMGM.CSV
360ONE.CSV
3IINFOLTD.CSV
3MINDIA.CSV

Based on the diagnosis data, i deleted all the previously downloaded csv files and it worked fine without any error
py src/init.py
Fetching bhavcopy for last 260 days and converting to AmiBroker format.
This is a one time process. It will take a few minutes.
100 %
Done
All Up To Date. Check again after 7pm for today's EOD data

from eod2.

Prady04 avatar Prady04 commented on August 19, 2024

closing - details in previous comment

from eod2.

BennyThadikaran avatar BennyThadikaran commented on August 19, 2024

Just make sure you got it correct. If you deleted the daily folder and run init.py. It will only sync from the last updated date. The daily files will only have last few days data.

You can follow the update instruction in wiki installation. This will remove the need to redownload the repo.

Anyways thanks for raising the issue and let me know if you need any further help. 😃

from eod2.

Prady04 avatar Prady04 commented on August 19, 2024

Thank you. I followed the wiki page.

from eod2.

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.