Showing posts with label True Data. Show all posts
Showing posts with label True Data. Show all posts
All you would like to know about Capital Gains Tax?

All you would like to know about Capital Gains Tax?

 Capital-Gains-Tax

What is Capital Gains Tax?

When put in simpler terms, any gain or profit that comes from the trade of a ‘capital asset’ is a capital gain. The benefit or profit inherited falls under the category – income. Hence, it is fundamental to pay tax for the amount in the same year in which the transferal of the capital asset registration takes place. This transfer of tax is what we as capital gains tax that can be either short-term or long-term.

Capital gains apply to selling or buying property; Since this transfer only involves the transference of ownership and not selling of property, they do not implement inherited properties. Assets that come as gifts due to inheritance or will – does not fall under Income Tax Act. But, if the inheritor chooses to sell it, capital gains tax will be applicable. House property, vehicles, land, patents, buildings, machinery, leasehold rights, jewelry, among others, come under the examples of capital assets.

Types of Capital Gain

Indian governments define assets into short or long term based on the Income-tax Act, 1961. Depending on the period for owning an asset, profits on investment can be classified into;

Short term capital gain

Short-term-capital-gain

Short-term capital gains tax refers to the tax imposed on gains made from the selling of an asset held for a government-set short time. The short time varies for various things. For instance, for a fixed property like house property, building, and land, the short term period was changed to 24 months or less from 36 months or less.

How to calculate short term capital gain

After considering the entire value of the asset, subtract the expenses acquired in association with the transferal. Moreover, deduct the price of improvement and acquisition expenses. The remaining amount comes under short-term capital gain, which will fall under STCG.

Assets that draw short term capital gains tax

If you hold following assets for 12 months or less, they come under short-term capital assets.

  • STCGT on shares: Shares or equity in a renowned company listed on BSE or NSE or any other approved stock exchange.
  • Zero-coupon bonds are both valued and unvalued.
  • Units of UTI, even if not valued.
  • Securities such as bonds, govt securities, debentures, among others, are registered on the stock exchange in India.

Tax Rate of short term capital gains

After the categorization of assets as short term, an individual has to view the tax rates that fit. If securities transaction tax is applicable on a property, then the government would apply 15%* short-term capital gains tax. Furthermore, during taxation, when securities transaction tax is not applied, the government adds the SCTG to the income tax return. Accordingly, the taxpayer has to pay the amount as per the income tax slab.

Long term capital gain

Long-term-capital-gain

The tax imposed on gains made from the selling of an asset held for a government-set long time is called long-term capital gains tax. The tax generated for assets such as share-oriented products or real estate comes under the category of long-term capital gain.

How to calculate long term capital gain?

Long term capital gain is applied at 20% for debt funds, real estate, and other assets after providing the taxpayers the advantage of indexation. Secondly, it is 10% for units of UTI/stocks/equity mutual funds/zero-coupon bonds/listed bonds.

Assets that draw long term capital gains tax

The definition of LTCGT differs for different types of products. For instance, it is two years for housing property, one year for units of UTI/zero-coupon bonds/equity mutual funds/listed debentures or govt securities/stocks, and three years for debt funding or any other assets.

Capital Gains Tax Exemptions

Capital-Gains-Tax-Exemptions

One can maintain Capital gains tax exemptions either partially or fully. For instance, if the buying cost is Rupees 80 lakhs and the selling cost is more than Rupees 1 crore (i.e. a profit of Rupees 20 lakhs). Additionally, a deposit of Rupees 50 lakhs is done, then as per the exemptions allowed by the Indian government, half the capital profits will go in the exemption. The government will apply the tax only on the other half.

Section 54:

If you use the selling price of a housing property to buy another housing property, then the capital profits on the sale will be under an exemption. However, there are always terms & conditions that have to be followed;

  1. One must make the new purchase of the housing property either one year before trading the old possessions or in two years of the trade.
  2. If the property is under construction, then the construction must complete within three years of the transfer period of the old possessions.
  3. One cannot trade the newly procured assets further within three years of acquisition or production.
  4. The newly procured capital should be within in India.

Section 54F:

If you are selling an asset such as agricultural land, valuable artifacts, jewelry within 10kms of a place, then you can use the benefit of section 54F. Section 54F rewards a reduction for the acquisition of real estate from the profits of the trade of any capital asset. Read on the following terms & conditions for section 54F;

  1. One must make the new purchase of the housing property either one year before trading the old possessions or in two years of the trade.
  2. If the property is under construction, then the construction must complete within three years of the transfer period of the old possessions.
  3. One cannot trade the newly procured assets further within three years of acquisition or production.
  4. The newly procured capital should be within in India.
  5. The person should be viable of only one housing property on the transfer date.
  6. The person should not purchase any other property within one year of the transference or built within three years of the transference.

As a part of the capital gains account scheme, the investor can transfer the profits before the scheduled date for registering returns. This step will be beneficial in availing of the benefits of the above-mentioned sections. These sections are useful even if a person has not bought a housing property; but, make sure to transfer or construct the property in the specified period.

Section 54EC:

The REC (Rural Electrification Corporation) and NHAI (National Highways Authority of India) issued the Capital Gains Bonds that are suitable for exemption from capital profits tax of up to Rupees 50 lakhs. These exemptions have a term-end of five years and offer a fixed profit rate that is currently 5.25%. The interest rate on all the capital gains bonds is taxable.

Strategies for Capital Gains Tax

Strategies-for-Capital-Gains-Tax

One should always carry out taxation in a legitimate procedure. This will efficiently reduce the entire tax return produced by an investment.

Usage of excess in capital damages by other methods:

One can move the capital damages ahead to succeeding years to discredit any interest in the future. This will help in decreasing a taxpayer’s expense burden.

Usage of Tax-Advantaged retiring schemes:

Under these plans, you can take out the retirement money and be in a lower tax section. The retirement money will also multiply in a tax-free zone.

Time Gains at the time of retirement:

Around the time of retirement, you should think about waiting till the time you quit working to trade valuable assets. If your retirement asset is low then the capital gains tax at the time of retirement will also be low. If you are lucky then you would not have to pay capital gains tax at all.

Think about the holding periods:

You should remember to make the new purchase of the housing property, one year before trading the old possessions. If you are selling the property a year after it’s possession, then make sure to find out the original trade price of the property. These strategies will come in handy at the time of larger trades than the smaller ones. Also, it will be beneficial if you fall under the higher tax bracket instead of the lesser ones.

Conclusion

There are only a few methods that are aforementioned by which a person can decide to save the capital gain tax on any property. One way to both decrease inequality and increase revenue is to change the assessment of capital gains. Another way of the leading proposals is to charge capital gains as they accumulate rather than waiting to sell out the property.

Backtesting in AmiBroker

Backtesting in AmiBroker

 Backtesting-in-AmiBroker

Backtesting in AmiBroker

Before getting into any technicalities or know-how, it is important for us to know what do we mean by backtesting in Amibroker.

Backtesting is an easy process used by Traders to evaluate the Trading Ideas and provides information regarding how good is a trading system based on historical datasets. Precisely, it talks about the behavior of the trading system, risks involved in a particular trading system, and more regarding the performance of the trading system.

There is one such program AmiBroker which performs all these functions and does much more for the traders.

Introduction

To keep it simple, AmiBroker is a full-fledged professional Technical Analysis and charting tool which can be used by the traders to Analyse Market, prepare charts, and for backtesting trading strategies.

It is quite important for you to know about AmiBroker is before using it to backtest. Better make an informed decision rather than just going with a feature that you might regret later (which you won’t!)

Features of AmiBroker

Features-of-AmiBroker

Here is a list of features which are offered by the trading platform apart from backtesting

Analysis Window –

analysis window

On the analysis window, you will be able to see almost everything, i.e. portfolio, walk-forward tests, optimization, backtests, explorations, Monte Carlo Simulation, and so on.

Exploration/Market Screening –

exploration

AmiBroker is a multi-purpose tool for data screening/mining which supplies programmable output with infinite rows and columns.

Charting –

This feature of Charting in AmiBroker comes with several built-in indicators, multiple time frames (which can be used as per your own convenience), drag and drop indicators, customizable parameters, object creating capabilities, etc. Sliders are the good options to modify parameters in real-time and can also customize it in various styles and gradients.

Walk-forward Testing –

It is ideal for confirming the robustness of the trading sample before and after optimization.

Multi-Threading –

AmiBroker assigns different threads for each graphics renderer and each formula chart.

Code Editor –

The code editor pairs up with parameter call-tips, auto indenting, code folding, etc. Whenever you encounter an error, a meaningful message alerts you promptly.

Ranking and Scoring –

ranking

It is used to perform bar-by-bar ranking depending upon the user score to find a suitable trade.

Advantages of AmiBroker

Advantages-of-AmiBroker

  • It provides the user with top-notch technical support for trading accounts.
  • The main features of this tool are fast array and matrix processing.
  • AmiBroker ensures that the traders are provided with safe and full-proof trading support in order to have 100% security and that you don’t lose money.
  • The features of AmiBroker are customizable and flexible.
  • It is the fastest backtesting tool and provides the user with a custom backtesting facility, custom metrics, rotational trading, etc. Also, it provides the user with advanced ranking, scoring, and positioning.

The most productive thing that can be done in the analysis window is to backtest the trading strategy on historical data. It helps you to gain insight into the strengths and weaknesses of the system before you begin to invest real money.

And thus, AmiBroker is a feature which can help you to save lots of money.

Writing Your Trading Rules

Writing-Your-Trading-Rules

The first thing that needs to be done is that you must have objective or mechanical rules to enter and exit the market. This step is necessary in order to create a base of your strategy and whether or not the system matches with risk tolerance, portfolio size, money management techniques, and several other factors.

Once you have established rules for trading, you must write to them as buy and sell rules in AmiBroker Formula Language.

Backtesting

Backtesting

In order to Backtesting in AmiBroker, you need to click on the Backtest button in the Automatic analysis window. Ensure that you have typed the formulas which contain buy and sell trading rules. Once the correct formula is entered, AmiBroker starts to analyze symbols according to trading rules and generates a list of simulated trades. This process is rapid in terms that you can easily backtest thousands of symbols in a few minutes. There is a progress window that will show the estimated completion time. If you wish to stop the process at any given point of time, click on the Cancel option in the progress window.

Analyzing Results

Analyzing-Results

When the process is completed, you will be presented with a list of simulated trades in the bottom part of the Automatic analysis window aka the Results pane. Here, you can examine when the buy and sell signals occur only by double-clicking on the trade in the Results pane. Post this, you are presented with raw or unfiltered signals for each bar where buy and sell conditions are met. If you wish to see only a single trade arrow (opening and closing currently selected trade) you are required to double click a line while holding the SHIFT key pressed down. The other option that you can choose is the kind of display by choosing the appropriate item from the context menu which appears once you click on the results pane with a right-click.

In addition to the results, you will also be provided with detailed statistics on the performance of your system by choosing the Report option.

Changing Your Backtesting Settings

Changing-Your-Backtesting-Settings

Backtesting in AmiBroker makes use of predefined values for performing its task including portfolio size, periodicity, i.e. daily/weekly/monthly, amount of commission, type of trades, price fields, interest rates, and so on. These settings can be altered by the user settings window. Post changing the settings, you must remember to run your backtesting if you wish the results to be in-sync with the settings.

Advanced Concepts

Until now, we have discussed fair simple use of the backtesting. However, AmiBroker comes with a lot more sophisticated concepts and methods.

We will be listing the new introduced-features of the back tester. There you go –

  • AFL scripting host for Advanced Formula Writers
  • Enhanced Support for Short Trades
  • Way to Control Order Execution Price from the Script
  • Types of Stops in Back-tester
  • Position Sizing
  • Round Lot Size and Tick Size
  • Margin Account
  • Backtesting Futures

Frequently Asked Questions (FAQs)

Ques. 1. What skills do I require to build an effective Algo Trading Solution using AmiBroker?

Ans. 1. Here is the list of following skills you may require to build an effective Algo Trading Solution using AmiBroker  –

  • It is necessary for you to have knowledge in AmiBroker AFL Programming, Backtesting, Optimization, System Validation of Training
  • You must have an understanding of the Broker API’s/Bridge Function and knowledge in the know-how of integrating with AmiBroker.
  • It is essential to have knowledge about VPS (Virtual Private Servers) and how to remotely connect and deploy AmiBrokers, Trading Terminal, and Bridge Components in the servers.
  • You have knowledge about Setting Risk Control Parameters and Order Execution Logic.
  • You must take data backup and trade logic backup at regular intervals.
  • It is necessary to use a statistical test like Monte Carlo Analysis to determine if the trading system has broken.

Ques. 2. Are there any additional requirements to build an effective automated trading system infrastructure?

Ans. 2. Yes, you do need additional requirements to build an effective automated trading system infrastructure.

Here are these additional requirements –

  • You must have a Good Historical Data for Backtesting.
  • It is necessary to have a Good Realtime for Live Trading.
  • You should have Trade Execution Capabilities, i.e. market order, limit order, bracket order, cover order, etc.
  • It is essential for you to have a good understanding of money management and types of systems, i.e. trend following, mean reversion, pattern recognition, seasonal, cynical, and so on.
  • It is important for you to have a sense of risk management in terms of what to trade, symbol level stop-loss, portfolio level stop-loss, fnoban check, panic button square-off, etc.
  • You require capabilities in position sizing, i.e. partial profit/loss booking, adding positions to the existing trade (scale).

Ques. 3. What availabilities does one need after taking your system live?

Ans. 3. You should have the following availabilities after taking your system live –

  • Ensure that the trading model that you use is free of glitches and that the system is tradeable.
  • You should have enough time to compute and place orders.
  • The assumptions that you make regarding trading costs, i.e. brokerage, commissions, slippage, taxes are realistic.

Ques. 4. Are there any disadvantages to use AmiBroker?

Ans. 4. Well, not technically disadvantages but yes, there are a few issues with AmiBroker which one must know –

  • This tool is not really suitable for those who aren’t tech-savvy and are unaware of the programming languages such as HTML, C/C++, etc.
  • This tool works best for those who are keen to write their own codes.
  • Since the tool is fully customizable, AmiBroker does not have a standard template, to begin with. It might not be an issue for an advanced coder, however, it can be quite cumbersome to come up with a new code or research about it.
  • The managing of quotes takes a lot of time.
  • It isn’t practically possible for you to run two or more databases per instance/session.
  • AmiBroker isn’t suitable for big traders who transact in lump-sum money and not for one-time traders or small traders.

AmiBroker is one of the best when it comes to coding, programming, developing, however, it does not satisfy those who are from a non-technical background. One requires extensive training before using the analysis and charting tool.

Even though AmiBroker has quite a number of features and tools, that makes it the trading process safe and satisfying.

We are hoping that in neat future AmiBroker will become popular among the non-technical users as well.

Till then, keep trading!

Bull and Bear Market

Bull and Bear Market

Bull and Bear Market

Bull and Bear Market

When you are into the work of stock trading, you often hear the terms “bull” and “bear”. These terms are used to define market conditions. It is important to know and understand what the terms indicate, in order to understand the functioning of the market. Let’s understand what are bear and bull markets and which one is better Bear or Bull market? And then let’s dig deeper into it.
The words Bull and Bear are used to describe whether the market is appreciating or depreciating in value. Sometimes, these terms are also used to determine how investors think about the market and the subsequent trends.
In simple words, when the stock market rises high, it is said to be bullish or bull market. It is characterized by a continual increase in market share prices. When the market is bullish, most investors often believe that the uptrend will remain for a longer period of time.
On the other hand, the market is said to be bearish, when it is facing a downfall. A bear market is the indication of decline. In Bear Market, the share prices start dropping, and the economy of the country slows down.
Which one is better Bear or Bull market?
Both bear and bull markets have different impact on your investments. When the market is bullish, short term or intra-day trading takes a peek. On the other hand, the bear market brings long-term investment opportunities to investors. So it’s a good idea to spend some time to govern the market and make investment decisions accordingly.
Open vs High
Opening price is significant especially at the beginning of the market, to determine day trading strategies. The price at which stock first trade on trading day is known as opening priceOpen vs high-low generally gives you the first impression of how a stock will perform throughout that trading day. Hence, the effect of news, events reflects on opening price, at times leading to the opening of stock in gap up or gap down.
When this opening price is compared with High or low, it helps the trader to take an effective position in the market. Therefore, a specific feature where High price can be compared with low prices, would be beneficent for the trader.
Open vs High low can be understood into two sections, in order to generate Buy & Sell signal:-

Open  equals to high


Open  equals to high

This indicates Bearish trend as prices will probably move below high price. In other words, a trader can go Short.  Whereas Previous high will help a trader to identify breakout by comparing it with current day’s high price.

Open equals to low

Open equals to low


This indicates Bullish trend, thus a trader can go long. Here prices will possibly move upward beyond low price. However, previous low can help in determining the breakouts.
We have thus developed open v/s high-low feature for traders to identify intra-day trading strategies and even the ‘%chg’ option plays an important role for intra-day traders. This feature in TruedataCheetah is shaped in such a way where a trader can certainly take position by just observing the results.