samdansk2 / assethold

MIT License
0 stars 0 forks source link

Introduction to Stock data #2

Closed samdansk2 closed 2 months ago

samdansk2 commented 3 months ago

@vamseeachanta Hello sir, Good afternoon, Successfully created stockhold environment , and gone through some of the tests inside repo . I got some errors, tried to solve by self installing the library . But there is an error while installing the library , that's the reason many tests are failing. Please look into it and give me any assignment from this repo.

vamseeachanta commented 3 months ago

first steps:

samdansk2 commented 3 months ago

@vamseeachanta Hello sir , Fixed toml file issue for self installing library changed entry point to
[project.scripts] stock_hold = "stockhold: main " - as defined digitalmodel [project.scripts] digitalmodel = "digitalmodel: main "

samdansk2 commented 3 months ago

@vamseeachanta Hello sir, I have doubt regarding stock data that In which format should I collect stock price data , As a Dataset or like above yahoo stock data link , any other formats, please tell me sir

vamseeachanta commented 3 months ago

Try which ever format. Data should be consistent irrespective of source. Currency may change though. Not sure. I do not know unless we try.

samdansk2 commented 3 months ago

@vamseeachanta I have collected the data from 2014 to till today , please can you see it sir , below https://github.com/vamseeachanta/stockhold/blob/first_pass_run/docs/tcs_stock_data.csv

vamseeachanta commented 3 months ago
vamseeachanta commented 3 months ago

@samdansk2 , Way forward: a/ Add Documentation. For starters, come up with ideas on improvement. b/ Take full ownership of this repository c/ Come up with better repository name or use assethold (Deadline: 2024-09-06) d/ Repo Objectives:

samdansk2 commented 2 months ago

@vamseeachanta Hello sir , Added basic architecture for files to be able run from digitalmodel (engine ) , i am unable to figure out the stockhold files structure , how they have organized , you need to take this process step further .

samdansk2 commented 2 months ago

@vamseeachanta hi sir , to give you progress reagrding setting up architecture , drived yaml file values into get_stock_data.py and fixed the valid source error for EOD data. you can review the changes below . commit : https://github.com/vamseeachanta/stockhold/commit/f832a332f1539ea3a024c8f4e80ee40b27b1c409

vamseeachanta commented 2 months ago

@samdansk2 , yes it is working good. I improved the functions further to return data. Tested till company info function. We should progress it further. Also, we should more robust data checks for the tests.

vamseeachanta commented 2 months ago

insider info should be fixed: https://finance.yahoo.com/quote/RIG/insider-roster/

samdansk2 commented 2 months ago

@vamseeachanta Added router for 'data' along with analysis and also successfully got the EOD data in the output , you can see below

Screenshot (28)

samdansk2 commented 2 months ago

i am unable to figure out things i.e, takes time to me understand the stockhold code completely. i am trying my best , you need to cleanup the remaining tests further sir , thankyou .

samdansk2 commented 2 months ago

insider info should be fixed: https://finance.yahoo.com/quote/RIG/insider-roster/

@vamseeachanta
insider_info fixed sir , you can see the dataframes below ,

vamseeachanta commented 2 months ago

Improved the following:

Way forward:

vamseeachanta commented 2 months ago

Going forward, Do the technical indicators visualization/chart: a/ Use matplotlib our assetutilities library first b/ Then we can progress to interactive charts using plotly (later on)

vamseeachanta commented 2 months ago

Some examples plots where we are using assetutilities to simply plotting is given below:

https://github.com/vamseeachanta/digitalmodel/blob/d9db55b66174a57ef601b485f929a87fcba198d6/src/digitalmodel/custom/pipeline/lateral_buckling.py https://github.com/vamseeachanta/digitalmodel/blob/d9db55b66174a57ef601b485f929a87fcba198d6/src/digitalmodel/tests/test_data/pipeline/test_pipeline_lateral_buckling.py

vamseeachanta commented 2 months ago
vamseeachanta commented 2 months ago

https://github.com/vamseeachanta/assetutilities/blob/ce52eda54dc65662045eeb08c56cfc39e3f7ac80/src/assetutilities/tests/test_data/visualization/test_xy_line_input.py

samdansk2 commented 2 months ago

@vamseeachanta Hello sir , Good morning , Added the plot for daily_data using assetutilities library , please see below : https://github.com/vamseeachanta/stockhold/blob/da063868452ef46b241f179a436b035461cebfda/src/stockhold/tests/test_data/data/results/Plot/AAPL_daily_data.png

vamseeachanta commented 2 months ago

@samdansk2 move pending items into individual issues.

Close this issue out.

samdansk2 commented 2 months ago

everything is going good .