{"id":19410862,"url":"https://github.com/techfanetechnologies/nse","last_synced_at":"2025-04-24T10:33:00.974Z","repository":{"id":40401657,"uuid":"490819855","full_name":"TechfaneTechnologies/nse","owner":"TechfaneTechnologies","description":"NSE is a rust cli binary and library for extracting real-time data from National Stock Exchange (India)","archived":false,"fork":false,"pushed_at":"2022-05-18T13:16:05.000Z","size":4626,"stargazers_count":20,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-31T12:13:07.631Z","etag":null,"topics":["algorithmic-trading","algotrading","banknifty","investing","national-stock-exchange","nifty","nse","options-trading","quantitative","quantitative-trading","qunatitative-finance","stock-data","stock-market","stocks-analysis","stocks-prices","trading","trading-algorithms","trading-bot","trading-platforms","zerodha"],"latest_commit_sha":null,"homepage":"https://github.com/TechfaneTechnologies/nse","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechfaneTechnologies.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-10T18:40:30.000Z","updated_at":"2024-10-19T05:59:59.000Z","dependencies_parsed_at":"2022-08-09T19:21:06.773Z","dependency_job_id":null,"html_url":"https://github.com/TechfaneTechnologies/nse","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechfaneTechnologies%2Fnse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechfaneTechnologies%2Fnse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechfaneTechnologies%2Fnse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechfaneTechnologies%2Fnse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechfaneTechnologies","download_url":"https://codeload.github.com/TechfaneTechnologies/nse/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223949083,"owners_count":17230228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["algorithmic-trading","algotrading","banknifty","investing","national-stock-exchange","nifty","nse","options-trading","quantitative","quantitative-trading","qunatitative-finance","stock-data","stock-market","stocks-analysis","stocks-prices","trading","trading-algorithms","trading-bot","trading-platforms","zerodha"],"created_at":"2024-11-10T12:18:21.225Z","updated_at":"2024-11-10T12:18:21.784Z","avatar_url":"https://github.com/TechfaneTechnologies.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NSE\n\n[![rust badge](https://img.shields.io/static/v1?label=Made%20with\u0026message=Rust\u0026style=for-the-badge\u0026logo=rust\u0026labelColor=e82833\u0026color=b11522)](https://www.rust-lang.org/)\n[![license badge](https://img.shields.io/github/license/TechfaneTechnologies/nse?style=for-the-badge)](https://github.com/TechfaneTechnologies/nse/blob/main/LICENSE)\n[![copyleft badge](https://img.shields.io/static/v1?label=\u0026message=Copyleft\u0026style=for-the-badge\u0026labelColor=silver\u0026color=silver\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfjAxYBNgYPa+9oAAAEM0lEQVRYw6WYb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B5A5aIy/s5jrxAl0VmrJHqFvrQuflCwCPM4Jy71s1L0tTA75IPzAyo5ea3D8eg5LORf2mWqnGaXz3Q+b3CcDm6nCtBfqeV5R+xsUyf1mC3eoBLp9qzAcocquN90qRxTW/Fhxk+Hw8o+HvQIOqPU2qkI7SLGeauAmhf8YrygVCepU0HmpkLqLaQ7nz43Ra3VJBknzqpA/SrivofpaduF64n9Kdt83OupJ/YA48ACiolRyRpHovuMd5kKs8PrA+JirjbsvlFBlE9DyP8qXnQ3+eNiblpOc+gfOCc0gGRGpeyzymq7dbLXSmch/q24qIQ1VBKjjMLUT7UheunmIq2qQgmg/wHquM6d9tIV7AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0wMy0yMlQwMTo1NDowNiswMDowMOIizoUAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMDMtMjJUMDE6NTQ6MDYrMDA6MDCTf3Y5AAAAAElFTkSuQmCC)](https://en.wikipedia.org/wiki/Copyleft)\n [![Build and Release](https://github.com/TechfaneTechnologies/nse/actions/workflows/release.yml/badge.svg)](https://github.com/TechfaneTechnologies/nse/actions/workflows/release.yml)\n\n\u003e Check out the sister projects [NsePython](https://github.com/TechfaneTechnologies/nsepython) and [SaveKiteEnctoken](https://github.com/TechfaneTechnologies/SaveKiteEnctoken) which are Python \u0026 Javascript libraries to use the NSE and Zerodha APIs respectively\n\nNSE is an easy to use rust CLI program and library for extracting real-time data from [National Stock Exchange (India)](https://www.nseindia.com/)\n\n## Features\n\n- Download EOD 1-Minute Data for NFO-FUT, NSE-EQ, NSE-Index, NSE-CDS from NSE Tame Charts.\n- Download Intraday Futures \u0026 Options Data Snapshots with all LTP \u0026 OI Data.\n- Multi-threading for network intensive subcommands\n  - You can configure the maximum number of additional threads using the `--threads` options\n\n## Installation\n\nnse is a compiled, statically linked program that does not require any external dependencies.\n\u003e nse is coming to more package managers soon!\n\n### Cargo Install\n\nIf you have the Rust toolchain, you can also compile and install nse by running `cargo install nse`.\n\nRemember to use an add-on like [cargo-update](https://crates.io/crates/cargo-update) to keep nse updated to the latest version!\n\n### GitHub Releases\n\n1. Download the asset suitable for your operating system from [the latest release](https://github.com/TechfaneTechnologies/nse/releases/latest)\n2. Unzip the file and move it to a folder in your path such as `~/bin`\n3. Remember to check the releases page for any updates!\n\n### First Startup\n\nWhen you first start up, the program will create a new data download directory automatically named as `NSE_Downloads_Data` in which the download files will be further categorised, subcatogorised and saved into dated folders.\n\n```bash\nNSE_DOWNLOADS_DATA\n├───1-Minute-OHLCV-Data\n│   ├───Commodity\n│   │   └───11-May-2022\n│   ├───Currency\n│   │   └───11-May-2022\n│   ├───Equity\n│   │   └───11-May-2022\n│   ├───Futures\n│   │   └───11-May-2022\n│   └───Index\n│   │   └───11-May-2022\n├───BankNifty\n│   ├───Futures_Intraday_Snapshots\n│   │   └───11-May-2022\n│   ├───GraphsData\n│   │   └───11-May-2022\n│   └───Options_Intraday_Snapshots\n│       └───11-May-2022\n├───FinNifty\n│   ├───Futures_Intraday_Snapshots\n│   │   └───11-May-2022\n│   ├───GraphsData\n│   │   └───11-May-2022\n│   └───Options_Intraday_Snapshots\n│       └───11-May-2022\n├───Misc\n│   ├───Futures_Intraday_Snapshots\n│   │   └───11-May-2022\n│   ├───GraphsData\n│   │   └───11-May-2022\n│   └───Options_Intraday_Snapshots\n│       └───11-May-2022\n└───Nifty\n    ├───Futures_Intraday_Snapshots\n    │   └───11-May-2022\n    ├───GraphsData\n    │   └───11-May-2022\n    └───Options_Intraday_Snapshots\n        └───11-May-2022\n```\n\n**WARNING:** _When upgrading, any files not downloaded by nse will be moved to the `.old` folder in the output directory_\n\n#### Configure\n\n_To Be Updated_\n\n#### Manage\n\n_To Be Updated_\n\n#### Delete\n\n_To Be Updated_\n\n## Feature Requests\n\nIf you would like to make a feature request, check the [issues](https://github.com/TechfaneTechnologies/nse/issues?q=is%3Aissue) to see if the feature has already been added or is planned. If not, [create a new issue](https://github.com/TechfaneTechnologies/nse/issues/new).\n\n## Building from Source or Working with nse\n\nFirstly, you need the Rust toolchain which includes `cargo`, `rustup`, etc. You can install these from [the Rust website](https://www.rust-lang.org/tools/install).\nYou'll also need the [Just](https://github.com/casey/just#installation) command runner, its basically a much better version of `make`.\n\nIf you want to build nse without cloning the repo then run `cargo install nse`.\n\nTo build the project and install it to your Cargo binary directory, clone the project and run `just install`. If you want to install it for testing a developement version, run `just` (alias for `just install-dev`).\n\nIf you want to obtain executables for a specific OS, you can run `just build-\u003cOS\u003e` and replace `\u003cOS\u003e` with `mac`, `win`, or `linux`. The produced binaries will be zipped and moved to `out/`.\n\nYou can run clippy linters using `just lint`, and integration tests using `cargo test`. Finally you can delete all the build and test artefacts by using `just clean`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechfanetechnologies%2Fnse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechfanetechnologies%2Fnse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechfanetechnologies%2Fnse/lists"}