Jignesh Patel Profile Banner
Jignesh Patel Profile
Jignesh Patel

@JigneshTrade

12,044
Followers
512
Following
346
Media
1,759
Statuses

Quantitative Finance | Machine Learning | Applied Maths | Financial Data Science | Algorithmic Trading

Surat, India
Joined August 2016
Don't wanna be here? Send us removal request.
@JigneshTrade
Jignesh Patel
3 years
List of #AlgoTrading platforms: 1. 2. 3. 4. 5. 6. 7. 8.
30
258
608
@JigneshTrade
Jignesh Patel
3 years
We use this #python formula to calculate #Nifty and #Banknifty option premiums in our risk calculations. In this financial quarter, we have given 20 % rerun to our #intraday algo users (screenshot on 25L capital) at risk that can be managed with estimated theta decay.
Tweet media one
Tweet media two
21
52
360
@JigneshTrade
Jignesh Patel
5 years
python script to download stock prices from #zerodha and save to #influxdb To start #indluxdb , 1. download 2. extract zip file 3. run influxd.exe
12
64
240
@JigneshTrade
Jignesh Patel
3 years
I use only following basic python libraries for my trading model backtest. 1. numpy 2. pandas 3. streamlit 4. altair
14
38
237
@JigneshTrade
Jignesh Patel
3 years
Run my backtest simulation on most famous 9.20 straddle on #banknifty options. Used #python and 1 min closing price.
Tweet media one
45
34
226
@JigneshTrade
Jignesh Patel
4 years
@jitendrajain , one sample zerodha algo for banknifty options buying based on rsi and vwap is given at this link. anyone can use it freely for learning or actual trading.
9
55
207
@JigneshTrade
Jignesh Patel
3 years
These are intraday chart of Banknifty for Dec'21.
Tweet media one
20
29
208
@JigneshTrade
Jignesh Patel
5 years
I have learned #python from this #YouTube channel for #trading and #ArtificialIntelligence #algorithmes Development.
6
67
183
@JigneshTrade
Jignesh Patel
5 years
This script will scan 50 stock and place "BUY" order in #Zerodha when #supertrend buy signal is generated. you can vary, 1. Risk per trade 2. target 3. stoploss 3. supertrend parameter 4. stocks to trade
15
40
167
@JigneshTrade
Jignesh Patel
2 years
Keeping only required things in GUI for #algotrading in #OptionsTrading . Developed using #python and #streamlit .
17
16
147
@JigneshTrade
Jignesh Patel
3 years
Working on new ideas, Scanning chart manually first, before processing in machine learning model.
Tweet media one
6
3
152
@JigneshTrade
Jignesh Patel
4 years
Getting many DM on how to learn algo trading. The first step is to learn python programming. It's very easy to learn and gives power to combine calculation and executions. The best source to learn python is given in the link
6
27
144
@JigneshTrade
Jignesh Patel
4 years
Will answer all your queries related to #Algorithms #trading in #nifty50 #banknifty #optiontrading in this thread.
69
31
137
@JigneshTrade
Jignesh Patel
3 years
Reward to risk ratio and win probability is highest when reference level has false break.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
7
9
133
@JigneshTrade
Jignesh Patel
3 years
Winning streak continues....
Tweet media one
7
1
133
@JigneshTrade
Jignesh Patel
2 years
Successful businessman don't do everything by themselves, but hire professional in field any pay them well (not just 15-25K onetime), Success depends on their skill to identify and differentiate between genuine(+in top 1%) and fraud people. Only #expiry #algo can beat FD rerun
Tweet media one
Tweet media two
18
3
132
@JigneshTrade
Jignesh Patel
3 years
Tick data of banknifty on 23-07-2021. It takes just 5 sec for almost 300 point fall.
Tweet media one
9
8
121
@JigneshTrade
Jignesh Patel
3 years
Got call from broker RMS team to stop my system because higher number of orders are loading their servers.
Tweet media one
28
7
115
@JigneshTrade
Jignesh Patel
5 years
This #python code is simplest example of how to #automate trade in #nifty #future in #zerodha In 100 lines, it 1. Get instrument token of near month nifty future 2. define function to generate signal 3. download data, evaluate logic and place order
8
40
122
@JigneshTrade
Jignesh Patel
4 years
11
12
113
@JigneshTrade
Jignesh Patel
3 years
it took 1 hr to find how to make 9:20 straddle profitable in banknifty, i just changed strike selection and exit rule. 1 trade on CE and 1 on PE sell with 50 quantity. 1 year backtest results in banknifty, without cost.
Tweet media one
Tweet media two
16
8
114
@JigneshTrade
Jignesh Patel
3 years
Working on ideas to avoid getting trapped by freak trade.
Tweet media one
16
9
111
@JigneshTrade
Jignesh Patel
4 years
To make consistent money from market, its not necessary that you should have good trading skill, you can achieve it if you have skill to judge the good algo service. Given 14 % return in Feb 2021, irrespective of fund size.
Tweet media one
10
1
101
@JigneshTrade
Jignesh Patel
2 years
30-40% yearly return from option trading, on bigger fund, is realistic, rationale, achievable and sufficient to create wealth.
10
3
99
@JigneshTrade
Jignesh Patel
3 years
This code generates monthwise chart you need data and basic python skill to use it.
Tweet media one
Tweet media two
@JigneshTrade
Jignesh Patel
3 years
These are intraday chart of Banknifty for Dec'21.
Tweet media one
20
29
208
3
17
92
@JigneshTrade
Jignesh Patel
3 years
I use this python code to automate zerodha account positions page screenshot copy to disc and send to telegram in window pc.
1
19
92
@JigneshTrade
Jignesh Patel
3 years
When testing code in live market, generally I have loss of about 1 to 2k. Today I was testing code to have better slicing of orders with quantity above 2000 in bank nifty, code has glitch,which misfire in live order, but I got benefitted. Sometimes luck also works in market.
Tweet media one
7
0
93
@JigneshTrade
Jignesh Patel
2 years
Dashboard build with #python and @streamlit for backtesting and analysis of multiple trading strategies.
Tweet media one
12
12
90
@JigneshTrade
Jignesh Patel
11 months
If its event day, probability of going #zeroda down is 100 %. @zerodhaonline #zerodha
Tweet media one
9
14
85
@JigneshTrade
Jignesh Patel
4 years
added this to my page, can be useful if want to learn algo trading.
8
27
86
@JigneshTrade
Jignesh Patel
2 years
Does 0 (zero) brokerage by @FINVASIA is sustainable business model ?. It will be game changer for small account holder (2-20L) in options trading with free API and no brokarage, if this broker is reliable. why should we pay heavy brokarge to @zerodhaonline ? for #algotrading
21
3
84
@JigneshTrade
Jignesh Patel
5 years
My intraday algo framework.
Tweet media one
6
11
82
@JigneshTrade
Jignesh Patel
4 years
This small script helped me today to make other people also earn more than his monthly salary in a single day.
Tweet media one
13
11
77
@JigneshTrade
Jignesh Patel
2 years
#python numpy array structure to store 10 year OHCL #banknifty options data on 1 min frequency. Size : approx 500 mb
Tweet media one
9
16
81
@JigneshTrade
Jignesh Patel
2 years
Code that start-stops multiple AWS instances of #Algorithms #trading based on #BankNiftyOptions exipy day. #python #AWS
Tweet media one
2
14
80
@JigneshTrade
Jignesh Patel
2 years
#algotrading is easy to start-with but it takes time to learn many practical aspect, that are mostly not is open-source. One of the trick is :-
6
11
74
@JigneshTrade
Jignesh Patel
2 years
Guideline to backtest option trading strategies with technical indicator and chart pattern Usecase : Banknifty Intraday with superTrend
3
24
75
@JigneshTrade
Jignesh Patel
2 years
Computer generating human interpretable trading rules in #banknifty from multidimentaional space of differenet setups, triggers and risk managment. with just 2 dimention of premium and SL, It seleted 500 premium PE and 300 prem CE, with 150 point stoploss for intraday, why?
Tweet media one
Tweet media two
Tweet media three
Tweet media four
13
5
70
@JigneshTrade
Jignesh Patel
4 years
Managed to get 5% return in march 2021. If you're my algo subscriber, you may have 2 more red days, but that loss will not be more than 0.2%.
Tweet media one
12
1
70
@JigneshTrade
Jignesh Patel
2 years
All #options trading strategies can be impoved by adding conditions for position initialize (RISK ON) and exit (RISK OFF). e.g. in 920 straddle (understand purpose only), i just added moving average on 200 rs premium call and put, to sell leg only if below X MA.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
3
7
68
@JigneshTrade
Jignesh Patel
3 years
I use @streamlit library of #python to monitor #algo . python script saves panda dataframes, lists and dictionaries to disk, streamlit reads it using pickle library. its very user friendly.
Tweet media one
2
11
69
@JigneshTrade
Jignesh Patel
2 years
Someone was uploading #banknifty and #nifty index option data at this site. If your looking for free options data, this may be userful. NB : we do not have any assiciation with this site.
3
31
70
@JigneshTrade
Jignesh Patel
2 years
Simplest 2D chart showing stoploss points where risk reward are favorable, for 300 rs premium call and put sell in banknifty, without any regime or quantity dimensions.
Tweet media one
12
9
68
@JigneshTrade
Jignesh Patel
4 years
28% return in Dec 2020. In self account as well as in accounts that are mapped to my "copy trade algo".
Tweet media one
4
1
66
@JigneshTrade
Jignesh Patel
3 years
April 2021, net return ~10%.
Tweet media one
7
0
68
@JigneshTrade
Jignesh Patel
4 years
It's most similar to my work. Algorithmically drawing Trend Lines on a Stock Chart by Christian Kindler in @TDataScience
3
14
63
@JigneshTrade
Jignesh Patel
5 years
This is most simplest range break #algorithm #strategy #zerodha #python #code , place buy and sell order at high and low of the day at given time. stock selections are deciding factor in making it profitable.
3
18
66
@JigneshTrade
Jignesh Patel
1 year
A solid understanding of the difference between backtesting and live trading is necessary in options trading to profit from algorithms. When its 4 MBPS (Retail Broker) Vs 10 GBPS (Co-location Algo), It's not unusual in options trading for stop-loss orders getting triggered even
Tweet media one
Tweet media two
4
13
63
@JigneshTrade
Jignesh Patel
1 year
Mastering the art of expiry trading – where portfolio margin becomes a powerhouse for generating alpha. This code decide which expiry day is today and trade same model for all expiry. #AlphaGeneration #expiryTrading #Nifty #Banknifty #finnifty #python #algorithm
Tweet media one
5
6
62
@JigneshTrade
Jignesh Patel
2 years
added script to calculate pivot point for #nifty and #banknifty in python at below link from my archives.
2
12
60
@JigneshTrade
Jignesh Patel
2 years
For us, trading is setup + trigger + execution. While traditional algorithms are good in identifying trigger (time and SL only ?)+executions. You need to be one step ahead to make money in zero-sum game. look for edge in trading, return comes automatically.
Tweet media one
4
7
58
@JigneshTrade
Jignesh Patel
2 years
We don't generally speak against anyone in social media. But, we can't remain silent on this tweet by @PRSundar64 . We have reported his ID to Twitter.
Tweet media one
6
7
57
@JigneshTrade
Jignesh Patel
5 years
working sample code for moving average crossover strategy. How to use : Copy code and replace "api_key" and "access_token" with your credentials and run. Warning : This code is not for education, order will go live.
3
20
57
@JigneshTrade
Jignesh Patel
2 years
Once you have framework to control multiple strikes simultaneous in vectorised cupy array processing, it’s simple to configure most of strategies and run it faster, otherwise it would take hrs to run. added just 15 lines of code in framework to make rolling strategy backtest.
5
1
53
@JigneshTrade
Jignesh Patel
2 years
Don't look for profitable trading strategy. All options trading strategies are profitable. Our target is to get 30-40% per year, at lowest possible risk.
1
1
51
@JigneshTrade
Jignesh Patel
2 years
There are many algo platforms now for trading in Indian market. What’s your experience about trade execution in these platforms? Which one is best?
21
11
52
@JigneshTrade
Jignesh Patel
3 years
Tweet media one
6
3
49
@JigneshTrade
Jignesh Patel
2 years
Backtesting is only one part of #algotrading lifecycle. few others are, 1. Backtesting results "Confidence Score". 3. Deployment 2. Forward testing ( not for few days only!) 3. Slippages evalution in live trading 4. Scallability 5. live trading vs backtest results
5
4
52
@JigneshTrade
Jignesh Patel
2 years
moving from #nonGUI to #GUI using @streamlit and #Python .
Tweet media one
8
7
51
@JigneshTrade
Jignesh Patel
2 years
@Nithin0dha Many of your competitors also have fixed brokarage monthly plan. Looking to have similar plan in zerodha, like pay rs. 9999 and trade unlimited.
4
0
49
@JigneshTrade
Jignesh Patel
2 years
This code decides how much quantity to sell in my latest expiry algo. comment if you can decode it.
Tweet media one
6
3
49
@JigneshTrade
Jignesh Patel
4 years
4% return in November 2020.
Tweet media one
1
0
47
@JigneshTrade
Jignesh Patel
4 years
Given 12% profit in January 2021 from market. After many months of live testing of new PYTHON scripts in multiple accounts, it's running without any bugs. Ready to add few more subscribers.
Tweet media one
5
1
48
@JigneshTrade
Jignesh Patel
2 years
#MachineLearning or #ArtificialIntelligence can't predict market, becase market is stochastic not deterministic, that's the fundamental of having CALL and PUT. But it can decode #priceaction and can generate return higher than risk taken. #TradingExperiance + #ML + #CommonSense
Tweet media one
3
4
45
@JigneshTrade
Jignesh Patel
4 years
@swing_trader19 follow this steps. 1. learn python basics 2. learn broker library 3. learn to manupulate data and generate signal 4. develop very simple strategy and take it live. 5. focus on two to three strategy and make it robust. 6. list all the issues during live trade and debug.
2
6
47
@JigneshTrade
Jignesh Patel
3 years
1% loss in may 2021. The real challenges in trading starts when your volume start contributing in candle formation. Taken new trade execution mechanism inline from today.
Tweet media one
3
0
48
@JigneshTrade
Jignesh Patel
3 years
We have #algorithms designed specifically for expiry day options trading in #nifty and #banknifty . This algorithms is intelligent to quickly learn and adopt present market dynamics. These are results of live trading.
Tweet media one
10
1
49
@JigneshTrade
Jignesh Patel
2 years
Managing 100cr at 30% yearly return with algorithm is not same as managing 10cr with 200% return, Investors confidence and consistency matters.
2
0
49
@JigneshTrade
Jignesh Patel
2 years
This is where domain expertise differentiate traders from data scientist. Data scientist tried to predict stock prices, while traders use data science to generate profit. Who to predict something that's stochastic by nature.
@carlcarrie
Carl Carrie (@🏠)
2 years
Spacetimeformer for Stock Price Prediction Python GitHub: 2021 Paper: Python GitHub application: Stock Prices (low markets utility, but interesting nonetheless)
Tweet media one
2
25
107
4
5
48
@JigneshTrade
Jignesh Patel
2 years
#OptionsTrading #BankNiftyOptions Smoothest decay in premium, in recent time.
Tweet media one
2
1
48
@JigneshTrade
Jignesh Patel
2 years
Framework for #Backtest of Trading Setup.
Tweet media one
2
5
49
@JigneshTrade
Jignesh Patel
5 years
Refer this article if interested in interpreting stock trend with new dimensions. "A Novel Method of Trend Lines Generation Using Hough Transform Method"
2
8
47
@JigneshTrade
Jignesh Patel
3 years
In options trading, return is proportional to risk taken. In August 2021, we have set 1% risk per day in system and it's given 6 % return. Total 5 day in loss with 1% limit hit on 3 days. Will add few new users to system, with minimum capital 10L.
Tweet media one
6
0
47
@JigneshTrade
Jignesh Patel
5 years
Python Script to download and save all near month nifty options data with open interest. #Nifty #trading #banknifty #python #zerodha #algotrade #quant
1
12
46
@JigneshTrade
Jignesh Patel
4 years
Only 15 % return in Oct 2020.
Tweet media one
6
0
41
@JigneshTrade
Jignesh Patel
3 years
9. 10. 11. 12. 13. 14. 15. 16.
2
17
42
@JigneshTrade
Jignesh Patel
4 years
If you are looking for strategy for systematic trading. I highly recommend to watch this video by @vishalmehta29 and @vivbajaj .
@vivbajaj
Learner Vivek Bajaj
4 years
#face2face release Losses जाओ भूल, सीखो Nifty, Banknifty Options के systematic trading Rule with Systematic Trader @vishalmehta29 90 minutes of best learning video on rule base trading. Literally a course for free. Take it or leave it.
38
63
318
1
2
45
@JigneshTrade
Jignesh Patel
2 years
#Trading in options is zero sum game.
Tweet media one
10
3
43
@JigneshTrade
Jignesh Patel
3 years
Our last few expiry day trading pnl on Rs. 30L fund user. Leveraging #python ,AI and ML for #algorithmic trading.
Tweet media one
4
1
43
@JigneshTrade
Jignesh Patel
3 years
Margin required for placing sell order in intraday index options is complex, if the available margin is with hedged buy positions. The solution i implemented in python is, if : last order is rejected, don't place new sell order". else : "broker server will get chocked"
Tweet media one
Tweet media two
6
7
41
@JigneshTrade
Jignesh Patel
3 years
Reverse engineering on #banknifty .
4
3
42
@JigneshTrade
Jignesh Patel
2 years
Structural regime change after few years are part of derivative trading and there is no choice but to adopt it. Understanding of statistics and edge of algorithms is more important to survive for longer in changing market dynamics.
0
4
43
@JigneshTrade
Jignesh Patel
5 years
Must have lines in #Algotrading #python # zerodha
Tweet media one
0
3
42
@JigneshTrade
Jignesh Patel
2 years
@KirkDBorne
Kirk Borne
2 years
Get the Source code for “ #AlgorithmicTrading with #Python ” (2020) by Chris Conlan here:
Tweet media one
6
92
292
2
8
37
@JigneshTrade
Jignesh Patel
2 years
Trading over decade gives experience of all type of market regime, something that you can't realise in just backtest. If you're new to market, it's difficult to recognise long term regime change, either in equity or in options. My first account was with Sharekhan in 2008 boom.
Tweet media one
1
0
41
@JigneshTrade
Jignesh Patel
4 years
Unable to keep all day green in Sept 2020. Today's result +1.7%. 1 red day with -5%. All other day from 0.1 to 6 %.
Tweet media one
6
0
39
@JigneshTrade
Jignesh Patel
2 years
Backtest is all about updating arrays. we use static array for data that can be set before we start backtest run like premiums, previous day data, technical indicator. during run time dynamic arrays get updated. With GUP and cupy, without any runtime visuals, its fast in python.
Tweet media one
4
5
40
@JigneshTrade
Jignesh Patel
3 years
After many failed ideas to keep pnl same in multiple accounts, which also resulted in huge slippages this month, finally able to design system that have minimum variation.
Tweet media one
7
0
38
@JigneshTrade
Jignesh Patel
4 years
3
9
38
@JigneshTrade
Jignesh Patel
8 months
How do algo traders do timepass. I am observing option prices move to get some timepass !! #Nifty #optiontrading #algotrading
9
1
39
@JigneshTrade
Jignesh Patel
3 years
17. 18. 19. 20. 21. 22. 23. 24.
1
18
37
@JigneshTrade
Jignesh Patel
1 year
Ready to dive into #CNN for chart pattern recognition? The first step is to generate charts that can be easy for machine to read. Check out this code I used back in 2018 to generate images from equity data. #AlgorithmicTrading #TechInFinance
Tweet media one
6
5
38