{"id":18872424,"url":"https://github.com/defcon-007/histrock","last_synced_at":"2026-02-11T03:31:23.204Z","repository":{"id":97211979,"uuid":"165423805","full_name":"DefCon-007/histrock","owner":"DefCon-007","description":"A historic stock analysis website made for Societe Generale Hackathon ","archived":false,"fork":false,"pushed_at":"2019-01-12T22:44:32.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-29T03:16:52.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://histrock.defcon007.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DefCon-007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-12T18:49:13.000Z","updated_at":"2019-01-12T22:53:00.000Z","dependencies_parsed_at":"2023-03-24T12:19:41.735Z","dependency_job_id":null,"html_url":"https://github.com/DefCon-007/histrock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DefCon-007/histrock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2Fhistrock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2Fhistrock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2Fhistrock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2Fhistrock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DefCon-007","download_url":"https://codeload.github.com/DefCon-007/histrock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2Fhistrock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29326149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T02:08:56.257Z","status":"ssl_error","status_checked_at":"2026-02-11T02:08:51.338Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T05:29:50.642Z","updated_at":"2026-02-11T03:31:23.190Z","avatar_url":"https://github.com/DefCon-007.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Histrock\n\nA django application for historic stock data analysis along with real-time stock charts and economic calender.\n\n## Features\n\n* Check historical stock trend analysis on responsive charts which can be exported as png.\n* Realtime economic calender displaying latest events. \n* Automatically selects oldest or most records if start or end date not given.\n* Realtime stock chart. \n\n* Easy-to-implement REST API. \n\n## Screenshots\n![Screenshot](https://i.imgur.com/AuKMLKCg.png \"Screenshot\")\n![Screenshot](https://i.imgur.com/9tPKT3l.png \"Screenshot\")\n![REST API](https://i.imgur.com/I6FsVud.png \"REST API\")\n\n## Demonstration \nClick on the below image to watch a short video demonstration. \n\n[![Histrock Video Demonstration](http://img.youtube.com/vi/GxMvHH_aJm0/0.jpg)](http://www.youtube.com/watch?v=GxMvHH_aJm0 \"Histrock \")\n\n## Installation\n\nClone the repository locally. \n```bash\ngit clone https://github.com/defcon-007/histrock \n\n```\n\nNow create a virtual environment for the project \n```bash\npip3 install virtualenv\nvirtualenv -p python3 ./venvhistrock\n```\n\nActivate the virtual environment\n```bash \nsource venvhistrock/bin/activate\n```\n\n\nInstall the required modules \n```bash\ncd histrock\npip install -r requirements.txt\n```\n\nNow make a local copy of the `config-template.ini` and complete the fields accordingly. (Postgresql database is recommended)\n```bash\ncp ./config-templat.ini ./config.ini\nvim config.ini\n```\n\nCollect static django assets\n```bash\npython manage.py collectstatic\n```\n\nRun migrations\n```bash\npython manage.py migrate\n```\n\nNow download the Postgresql database dump using `curl` or any other downloader of your choice or by clicking [here](https://s3.ap-south-1.amazonaws.com/defcon-public-static-assets/histrockDump.dump). \n\n```bash\ncurl https://s3.ap-south-1.amazonaws.com/defcon-public-static-assets/histrockDump.dump -o ../histrock.dump\n```\n\nAssuming you have setup the postgres database with name \"histrockdatabase\" use the following command as root to add data to database. \n```bash\npg_restore -U postgres --data-only -d histrockdatabase -t api_stock ../histrockDump.dump\npg_restore -U postgres --data-only -d histrockdatabase -t api_stockhistoricdata ../histrockDump.dump\n```\n\nNow everything is setup run `python manage.py runserver` to run the local development server.\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefcon-007%2Fhistrock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefcon-007%2Fhistrock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefcon-007%2Fhistrock/lists"}