Git Product home page Git Product logo

stocky's Introduction

FOSSA Status Code style: black license

Stocky McStockface

Stocky Will help you generate a consolidated list of Instruments

  1. by mapping their ISIN codes to
    1. BSE Stock codes and symbols
    2. NSE symbols
    3. Zerodha symbols
    4. Yahoo symbols (Both .NS and .BO)

Installation

Clone the repository

git clone https://github.com/justgoodin/stocky.git

Install the dependencies

pip install --upgrade requirements.txt

Instructions

Inputs needed

You need to download 3 files

  1. BSE Bhavcopy: Download from https://www.bseindia.com/markets/MarketInfo/BhavCopy.aspx.
  2. NSE Bhavcopy: Download from https://www1.nseindia.com/products/content/equities/equities/archieve_eq.htm.
    Note: Downloading BHAV Copy using programmatic methods is illegal.
  3. Zerodha Instruments: Download from https://api.kite.trade/instruments

Then place these files in the following locations

  1. BSE Bhavcopy: data/marketData/bhavCopies
  2. NSE Bhavcopy: data/marketData/bhavcopies
    You need to update the file name in lib/bin/bhavCopy.py.
    In future version, this will be more streamlined
  3. Zerodha Instruments: data/marketData/zerodha. The filename should be instruments.csv

Running the app

On windows

python app.py

On linux/MacOS

python3 ./app.py

Or open it in your favourite code editor and run from there.

UI Options

There are three options

1. Rebuild stocky.db from scratch: This will delete the existing copy of stocky.db and recreate it from scratch. Requires bhavcopies and zerodha instruments in their respective locations

2. Update all Yahoo data: Downloads Yahoo data using yahooquery library

3. Exit: Exit the program

License

FOSSA Status

stocky's People

Contributors

dependabot[bot] avatar fossabot avatar rehanhaider avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

stocky's Issues

Depfu Error: No dependency files found

Hello,

We've tried to activate or update your repository on Depfu and couldn't find any supported dependency files. If we were to guess, we would say that this is not actually a project Depfu supports and has probably been activated by error.

Monorepos

Please note that Depfu currently only searches for your dependency files in the root folder. We do support monorepos and non-root files, but don't auto-detect them. If that's the case with this repo, please send us a quick email with the folder you want Depfu to work on and we'll set it up right away!

How to deactivate the project

  • Go to the Settings page of either your own account or the organization you've used
  • Go to "Installed Integrations"
  • Click the "Configure" button on the Depfu integration
  • Remove this repo (justgoodin/stocky) from the list of accessible repos.

Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.

If you think that this is a mistake

Please let us know by sending an email to [email protected].


This is an automated issue by Depfu. You're getting it because someone configured Depfu to automatically update dependencies on this project.

Missing NSE scrips

Scrips missing most likely due to SQLite not support FULL OUTER JOIN.

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.