STOCK MARKET IS VERY RISKY UNTIL YOU DO IT PROPERLY. PLEASE DO NOT TAKE TRADES JUST BECAUSE THIS TOOL GIVES YOU THE NAME. APPLY YOUR OWN LEARNINGS, CREATE YOUR OWN STRATEGY, ASSESS RISK & TRADE THE PLAN.
-Trade at you own risk as No one will be held responsible for the losses incurred exept the trader.
I personally have lost some money in intraday without plan and own judgement. This tool can help you with manual effort of selecting stocks from listed 1600 stocks but you have to use your knowledge after that.
+ Live News based AI model to predict the sentiment of news related to stock. Predict probability whether a stock will go up or down based on the sentiment of the news.
+ RL (Reinforcement Learning) for trades suggestion given different conditions.
India's first and only free open source tool to have it all such as: Live data, Scan stocks based on Swing / momentum strategies, intraday strategies, candlestick patterns, Indicator values, Charts, Backtesting, Online Broker Platform connection, ebooks, Risk management and one of the few to add concept of Live Market Mood. Ebooks will be added as I read them and find useful
- Download and Install Python 3.7 and above
Fork
orClone
the project. For Non- tech, Windows users, findFork
button on upper right hand corner, fork it. Look for the GreenCode
button and download the zip file, extract it.- Find and open the directory by the name NSE-Stock-Scanner inside above zip file. Open Terminal ( For Linux) or Command Prompt or Git Shell in Windows inside the directory.
- Run the following Commands:
cd ./NSE-Stock-Scanner
pip install -r requirements.txt
jupyter lab
-
Open
Tutorial.ipynb
in your browser for Documentation and usage -
Go to first cell (just below Imports, Defaults and Initializations where some code is written) and press
Shit + Enter
. -
To run any cell, just do the same. Read the commands here if you need help in running it
-
I am updating this code on a regular basis so if you want to keep updated, just run
git pull
inside the same folder
For usage, see the docstring of code or the example ipython Notebook Test.ipynb
- NOTE: There is some bug in fetching live data and data refresh so if you are not ubale to get some data, or get an error; restart kernal and run cells again
Please share your ideas, views, requirements, knowledge, bug reports, fixes and most importantly; reviews.
Enjoy the power of computing and trade safely ;)
- Marubozu
- Harami
- Doji ( Couple of versions)
- Hammer / Shooting Star
- V Pattern
- Reverse Pattern
- 3 White Soldiers
- Bullish and Bearish Engulfing
Swing Trading: National Stock Exchange (NSE), India based Stock suggestion/ scanning program for Swing / Momentum based Trading.
Supports:
- Auto risk management: Entry ( Default is buy above above High and Stop-loss Below the lower of current close or prev close; can also be overridden), Target (default is based on 1:2), Expected Change (how much change you are expecting from it to give you a realistic measure)
- Risk Control and Management: (Whether you should buy the stocks or not based on your risk apetite and budget, it suggests you stocks)
- Daily Pivot Points with CPR
- Breakout Support: Stocks which are in tight consolidation for the past
n
days withinx%
range of recent candle. Might breakout - CCI
- MACD
- Stochastic
- Ichimoku Suggestion (Count out of 3 conditions: Lines Crossing or not, Chikou Lagging inside Prices or Not, Cloud Below the Price or Not)
- Moving Average Support (Whether Price is on the Above Side of Moving Average or not)
- Bollinger Bands (2 STD Positive and Negative Bollinger Band Support)
- RSI Value ( Relative Strength Index)
- ATR Value (Average True Range)
- ADX (Directional Index to give you idea about momentum)
- Stock Movement: Rising or Falling (
x%
(Default is 5%) near 52 Week high or Low. - Journal Analysis: Fetches the Spreadsheet where you have provided the data for buy and sell for future analysis Refer to this
- Automatic New Stock data Change and Download
- Moving Average Crossover strategy: Gives you stocks if Moving Average 1 (Fast, say 50) crosses above Moving Average 2 (slow, say 200) within
N
days.
- Live Market Mood such as TICK, TRIN, No of stocks trading currently at 52 Week High or Low
- Stock Selection for
Open == Low / High
at whole number (x.00
) strategy. - Probability based stock: Sorted Top
K
stocks based on probability which can give you atleastx%
return either on Long or Short side. Based onN
days data of your choice. - Narrow Range Strategy where the most recent day candle has the lowest range from the previous
N
( default 7) days days candle, so the next day is most likely to breakout in either side. - Marlet Mood and Sentiment analysis: % change of every Sector / Indices in Live Market. Gives you a mood of overall market right now based on which sector is performing with which mood live. Opens the top performing stocks from each sector
Backtesting: Backtesting support and results. Class to implement just the Buy and sell conditions. Some strategies already implemented:
- CCI
- MACD
- RSI
- Stochastic
- Moving Average
Futures and Deratives: F&O basi support.
- List of available F&O
- Option Chain Analysis. Useful for Swing as well as Intra Day Trading
Ebooks: Annotations added as I've read the books
- Trading in the zone. Best book on psychology I could find till now.
- High Probability Trading Good book on strategies
Coming Next:
- Optimization: Find optimal values for each individual stocks because give good results for 35 MA, some give for Stochastic strategy, some for breakout.. etc etc.
- Algo Trading
- New Strategies and backtesting support
Basic Usage:
- Download of more than 1800 NSE stocks for 1 days. Run it after 11:30 PM IST to get day's stocks results as the market is closed at that time.
- Plot Candle Sticks of stocks with moving average support.
- Pick and Scan all the stocks based on your budget, loss threshold, profit apetite,
K
Moving Average etc
Note: I started out as an enthusiast for this concept of 44 SMA
style but backtested it using my own written code and found out that it gives you around 40-45%
Hit-Loss %. So? Learn More.
See this video to know what is mimicks. All it does is to save your time rather when you have to go through 1800 stocks to pick. You can click and scan the stocks of your moving average. It does not support Short Selling
but can be implementd by changing the code easily.
This is not a trading Bot or software but a mere tool to see the live charts, candlesticks for the stocks of your choice. All it does is tell you all the available stocks which are closest to and are on the upper side of 44 Moving Average.
For more info on 44 Moving Average and Swing Trading, see this Most Popular videos of this channel