Techpaisa Technical Indicator API

5 years, 5 months agoComments closed

technical-indicator api

We are happy to announce that we have made our technical indicator API public. You can also use our screener API which we launched yesterday here.

To access our API, sign up for an API developer account at 3scale (Sign up link in top right corner). You will receive and email and to activate the account just click on the link in email.

Sign in with newly created account. Click on Get me my API Keys now! link to view your app_id and app_key.

Now you can access our API using your app_id and app_key. When accessing API, add &app_id={{app_id}}&app_key={{app_key}} in rest URL. Make sure you keep your app_id and app_key a secret.

An example API Get Request is: http://techpaisa.com/api/chart/reliance/fibonacci-retracement/?app_id={{your_app_id}}&app_key={{your_app_key}}.

Supported indicators are:
  • RSI
  • MACD
  • Simple Moving Average
  • Exponential Moving Average
  • Bollinger Bands
  • Fibonacci Retracement
  • Average Directional Index
  • Average True Range
  • Put Call Ratio
  • Futures Premium
  • Option Maximum Open Interest
  • Board Meetings
  • Announcements
  • Corporate Actions
  • 52 week hi-lo
  • Volume
  • Deliverable Quantity
  • Daily Volatility
  • Beta
  • Market Capital
  • EPS
  • Pivot Points

API Response would be a JSON but it will be different for different for different indicators.

To experiment with API and to see responses for different indicators, try our API here.

Stay tuned for latest updates:

Techpaisa Team.

Techpaisa Screener API

5 years, 5 months agoComments closed

screener api

We are happy to announce that we have made our screener API public.

Now you can use our API to develop interesting financial apps.

To access our API, sign up for an API developer account at 3scale (Sign up link in top right corner). You will receive and email and to activate the account just click on the link in email.

Sign in with newly created account. Click on Get me my API Keys now! link to view your app_id and app_key.

Now you can access our API using your app_id and app_key. When accessing API, add &app_id={{app_id}}&app_key={{app_key}} in rest URL. Make sure you keep your app_id and app_key a secret.

To experiment with API and to see all query parameters, view our Active Docs.

An example API Get Request is: http://techpaisa.com/api/stock-screener/?ind=nifty&app_id={{your_app_id}}&app_key={{your_app_key}}. API Response would be a JSON with following parameters:

  • “s”: list of tuples (array of arrays). Each tuple has NSE stock symbol and company name. If screened stocks are more than 50, then we only return first 50 stocks.
  • “t”: total number of returned stocks
  • “v”: screener in plain english.
  • error”: API encountered an error or not.

An example API Response would be:

{ “s”: [ [“ranbaxy”, “ranbaxy labs ltd”], [“hcltech”, “hcl technologies ltd”] ], “t”: 2, “v”: “Stocks with strong technical strength and in nifty”, “error”:false }

Stay tuned for latest updates:

Techpaisa Team.

JUBLFOOD Strategy

5 years, 8 months ago129 Comments

jublfood technical-analysis

A user comes in with the following query:

Jubiliant food works is appearing to breach its support levels. Should I sell the stock I have?

Further, you think it would make sense to Buy a Put/Sell a call on this stock?

Our reply:

JUBLFOOD is entering into a rangebound territory (1100-1200). I would suggest selling calls at this point. Sell 1200 May Call. Although there is not much volume. You should put a limit order here. If you don’t want to trade options, then exit at 1100-1110 levels.

Deliverable Quantity

5 years, 8 months ago2 Comments

deliverable-quantity analysis tutorial

Volume is an important aspect of technical analysis because it is used to confirm trends and chart patterns. Any price movement up or down with relatively high volume is seen as a stronger, more relevant move than a similar move with weak volume.

However, day trading volumes are just noise and are mostly made up of speculative trades. Any ratio derived from day trading volumes, cannot be a reliable indicator. That’s why, we look at deliverable volume which is all the trades which were not closed on the same day i.e. all trades which were not intraday trades.

If a stock’s price goes up sharply, with a substantial increase in delivery volume, it is a bullish indication. If a stock’s price falls sharply, with a substantial increase in delivery volume, it is a bearish indication.

I don’t think a stock can be traded just by looking the the delivery statistics. Along with the delivery data, one should also look at the entire technical setup of the stock i.e. the technical charts.

Another important idea in technical analysis is that price is mostly preceded by volume. Volume is closely monitored by technicians and chartists to form ideas on upcoming trend reversals. If volume is starting to decrease in an uptrend, it is usually a sign that the upward run is about to end.

You can view deliverable volume of all stocks traded on NSE at the individual stock page. (e.g. Reliance)

Facebook Page

5 years, 11 months ago0 Comments

facebook analysis

We are excited to announce the launch of our facebook page. It’s a unique page in the sense that you can post standard queries on our wall and we will analyse your query and post a response to that quickly.

You can post any of the following queries:
  • Trending stocks in sector/index
  • Technically strong stocks in sector/index
  • Technically weak stocks in sector/index
  • Uptrending stocks in sector/index
  • Downtrending stocks in sector/index
  • Oversold stocks in sector/index
  • Overbought stocks in sector/index
  • Rangebound stocks in sector/index
  • Cheap stocks in sector/index
  • Stocks close to 200-DMA
  • Pairs to watch today
  • stock support and resistance levels
  • Pairs Trading stock - stock

In all the queries, replace sector/index by sector or index of your choice, e.g. education, nifty etc. You don’t need to specify sector/index if you want to scan all stocks. We suggest using a sector/index when you are asking for cheap stocks as to find cheap stocks price-to-earnings ratio is compared and comparing PE ratio only makes sense within a sector.

You can apply filter to see stocks which are traded in futures by saying for example “Technically strong stocks which are traded in futures”, “Uptrending stocks close to 200-DMA which are traded in futures”. Here is an example query on facebook:

Facebook Query Result Example

On every trading day before the trading starts, we will post some specific queries so that you can view important stocks and pairs to watch on that day.

We will be supporting more queries in the future. Please let us know your queries so that we make systems to understand them. If you like our idea, please like our facebook page and do give it a try.

Stay tuned for latest updates:

Techpaisa Team.

Stock Screener

6 years agoComments closed

screener nse tutorial

We are pleased to introduce our own stock screener. You can access it here and use it for free. A stock screener is a tool to filter stocks based on various technical and fundamental criteria.

At techpaisa, you can filter stocks based on following technical criteria:
  • Near 200 SMA: If current stock price is within 1% range of 200 Day Simple Moving Average. Same filter for 20 and 50 Day SMA.
  • Above/Below 200 SMA: If current stock price is above/below 200 DAY SMA. Same filter for 20 and 50 Day SMA.
  • RSI Oversold/Overbought: If RSI is indicating that stock is oversold/overbought.
  • MACD Bullish/Bearish Crossover: See here to know about MACD.
  • MACD Bullish/Bearish Centerline Crossover
  • Bollinger Bands squeezing/squeezed: See this tutorial to understand bollinger bands.
  • ADX Trending: See here to know about ADX. It’s a measure whether a stock is trending or not.
Following fundamental criteria are supported:
  • Sector: You can use this filter to compare stocks from a given sector.
  • P/E (Price-to-Earnings Ratio): If you use this filter, stocks are sorted in increasing P/E ratio, which means that cheap stocks come first. Moreover, we also make sure that last 3 quarters of the stock have been positive Earning Per Share.
  • Traded in Futures: Whether futures for that stock are traded are not.
  • Promoter Shareholding: More the promoter shareholding, better the stock.
  • Absolute beta: View this tuorial for a brief introduction of beta.
  • Market Capital: Filter high market capital stocks usign this filter.
Our stock screener can be used in many interesting ways. We list some of the screens which we find interesting:
  • Stocks near 200 SMA and above 200 SMA and above 50 SMA and above 20 SMA and traded in futures: This screen filters all stocks above 200 Day SMA, 50 SMA and 20 SMA and which are close to 200 SMA. Stocks above 200 SMA, 50 SMA and 20 SMA are considered to be in an uptrend. And when a stock in uptrend comes near 200 SMA, then 200 SMA acts as a strong support for that stock and it is a good time to go long in that stock. Similarly, you can use this screener to find stocks in a downtrend and near 200 SMA. You can even apply ADX trending filter to refine the results.
  • Stocks with Cheap P/E and in education: This screener will give you all stocks in Education sector with cheap price-to-earnings ratio. We suggest whenever you apply P/E filter, you should choose a sector because P/E ratio of two stocks from different sectors can’t be compared.

Please let us know if you have any more suggestions for filters.

Stay tuned for latest updates:

Techpaisa Team.

Average Directional Index

6 years, 1 month agoComments closed

average-directional-index technical-analysis tutorial

DISCLAIMER: If you trade stocks, you do so at your own risk. Trading/Investing in stocks carry high risk. Any trade or action you take in the market is your own responsibility. Techpaisa.com will not be liable for any loss arising out of the use of any information on the website by anybody.

Adding to our arsenal of technical analysis tools, we intoduce Average Directional Index (ADX) at techpaisa.

ADX tells us whether a stock or a commodity is in a trend or not. It also tells us the strength of the trend. However using ADX only, one can not determine whether a stock is in a downtrend or uptrend, that is, ADX only tells whether a stock is in a trend or a trading range.

Reading ADX values is pretty straight forward. If ADX is less than 25, then stock is in a trading range. If ADX is greater than 25 then the stock is in a trend. If ADX becomes very large (around 50) then it generally means, the trend is weak and expect ADX to fall from here.

As ADX does not tell us the direction of trend, it can not be used to generate buy or sell signals. However, you can combine ADX with other technical indicators to get an idea of stock’s movement in next few weeks.

Other Tutorials on internet:
Stay tuned for latest updates:

Happy Investing!

Techpaisa Team.

Average True Range

6 years, 2 months ago83 Comments

average-true-range technical-analysis tutorial

DISCLAIMER: If you trade stocks, you do so at your own risk. Trading/Investing in stocks carry high risk. Any trade or action you take in the market is your own responsibility. Techpaisa.com will not be liable for any loss arising out of the use of any information on the website by anybody.

We have introduced several technical analysis tools and talked about them here and here.

Quoting from stockcharts:

Developed by J. Welles Wilder, the Average True Range (ATR) is an indicator that measures volatility. It is important to remember that ATR does not provide an indication of price direction, just volatility.

At techpaisa,we use a 14-day period (most common period) to calculate ATR. You can find ATR in technical analysis section on each stock page at techpaisa. ATR is calculated using stock prices and is not normalized, which means, a stock with price Rs. 100 will have a lower ATR than a stock with price Rs. 1000. ATR can be used to identify breakouts. When a breakout occurs, ATR suddenly goes up.

For more details, check out following links.

Other Tutorials on internet:
Stay tuned for latest updates:

Happy Investing!

Techpaisa Team.

Market Capital, Earnings Per Share (EPS), Price-to-Earnings (P/E)

6 years, 2 months ago0 Comments

market-capital eps pe tutorial

DISCLAIMER: If you trade stocks, you do so at your own risk. Trading/Investing in stocks carry high risk. Any trade or action you take in the market is your own responsibility. Techpaisa.com will not be liable for any loss arising out of the use of any information on the website by anybody.

We are pleased to announce that now you can view following fundamental information regarding stocks:

  • Market capital
  • Earnings Per Share (EPS)
  • Price-to-Earnings (P/E or PE)

Market Capital

Market capital of a company is equal to the total number of shares times the share price of the company. Stock market indices such as NIFTY use free float market capitalization to get the weightage of company in index. Free float market capital of a company is equal to the number of publicly traded shares times the share price of the company.

Earnings Per Share (EPS) and Price-to-Earnings (PE)

EPS is the profit made by company per share. Total net profit is not a good figure to compare two companies as their market capital will be different. EPS is the normalized profit per share. To compare two companies, EPS only is not enough as a company’s share might be worth Rs. 100 and other might be worth Rs. 1000. Company with share price Rs. 100 and EPS Rs. 20 is doing better than the company with share price Rs. 1000 and EPS Rs. 20. So to get a comparable metric share price is divided by EPS to get Price-to-Earnings Ratio (PE).

Companies release their financial results quarterly. There are two types of financial results: consolidated and non-consolidated. Consolidated results are better than non-consolidated results as they include results of all subsidiary companies too. We take consolidated results whenever available.

To calculate current PE, current share price is divided by sum of EPS of last 4 quarters. This PE is known as trailing twelve months (TTMPE.

For each sector (on sector page at techpaisa), you can sort using PE or market capital to compare stocks from the sector on the basis of PE and market capital. You should not compare two companies from different sectors on the basis of PE as average PE of different sectors tend to be different. This is because some sectors have higher profit margins and thus higher average PE than some other sectors.

Stay tuned for latest updates:

Happy Investing!

Techpaisa Team.

Option Greeks (Delta, Theta, Gamma, Vega, Rho)

6 years, 3 months agoComments closed

options greeks tutorial

DISCLAIMER: If you trade stocks, you do so at your own risk. Trading/Investing in stocks carry high risk. Any trade or action you take in the market is your own responsibility. Techpaisa.com will not be liable for any loss arising out of the use of any information on the website by anybody.

We are pleased to announce that now you can view greeks of options traded at NSE. If you trade options, then its important to understand what is the risk in your positions. Each greek letter measures a different dimension of risk in an option position. For an introduction to options, we suggest reading investopedia. Greek letters are calculated using black scholes model.

You can find greek letters of options in “Futures & Options” section on every stock page. We will talk about greeks with the help of an example. RELIANCE call option with strike price Rs.860 closed at Rs.6.75, while underlying RELIANCE stock closed at Rs.843. Reliance Call (Rs860 Strike Price) greeks are:

  • Delta: 0.35
  • Theta: -1.85
  • Gamma: 0.0092
  • Vega: 40.1
  • Rho: 4.71

Now we discuss each greek letter in detail:

Delta

The delta of an option is defined as the rate of change of option price with respect to the price of underlying equity/asset. As example, delta of reliance call option (Rs.860 Strike) is 0.35 which means if the stock price goes up by Rs.10 then option price will tend to go up by Rs.3.5. If you have one lot (250 options) of thse reliance options, then delta of your position is 250x0.35 = 87.5.

You can use delta to do hedging which is also called as delta-hedging. Suppose you have sold one lot of above mentioned reliance options. Then delta of your position is -87.5. Now you lose money if stock goes up. Delta of a stock is 1. So if you buy 87.5 (~88) stocks of reliance. Then delta of your overall position becomes zero and position is delta neutral. Now your option position is hedged.

It is important to relaize that as delta changes, your position remains delta hedged for only a relatively short period of time. The hedge has to be adjusted periodically. This is known as rebalancing. This is also known as dynamic hedging. If you don’t rebalance then its called as static hedging or hedge-and-forget.

Delta decreases as strike price of option increases and it increases with increasing time to expiry. Delta of a long call option is positive and delta of a long put option is negative.

Theta

The theta of an option is the rate of change of value of option with respect to passage of time with all else remaining same. It is also referred as the time decay of an option. In the example above, theta is -1.85 which means that with each trading day, value of the option decreases by Rs1.85 if all else remained same.

Theta is usually negative for an option. This is because, as time passes with all else remaining the same, the option tends to become less valuable.

Gamma

The gamma of an option is the rate of change of option delta with respect to the price of the underlying asset. It is the second partial derivative of option price with respect to asset price.

When you are doing dynamic hedging then rebalancing to keep the portfolio delta neutral need to be made infrequently.

In the example above, gamma is 0.0092 which means when stock price changes by Rs.1 then delta of option changes by 0.0092.

Vega

The vega of an option is defined as the rate of change of value of option with respect to volatility of underlying asset.

In the example above, vega is 40.1 which means a 1% increase in volatility of reliance stock price will result in 0.01x40.1= Rs.0.4 increase in option price and vice-versa.

If you wish to make your porfolio to be not dependent on volatility then you make it vega neutral by taking appropriate option positions.

Rho

The rho of an option is defined as the rate of change of value of option with respect to the interest rate.

In the example above, vega is 4.71 which means a 1% increase in interest rate will result in 0.01x4.71= Rs.0.04 increase in option price and vice-versa.

Rho of a long call option is positive and rho of long put option is negative.

Caveats

In practice, if you are doing delta hedging, rebalancing should be done depending on gamma of your portfolio. While rebalancing, transaction costs should be considered beforehand.

Stay tuned for latest updates:

Happy Investing!

Techpaisa Team.