This article describes the Portfolio and Risk Management component that we provide. It is responsible for risk and portfolio management of automated trading system. This component is completely independent from the strategies that run in a trading system.
This component manages the trading done by all the strategies in the trading system.
Think about this as a Senior & Experienced trader, who is looking after the trading done
by junior traders (in our case, traders represent multiple strategies that are being run in a trading system).
The job of this component is to spot any strategy doing things it is not supposed to do.
Basically avoid losses, when strategies perform erroneously due to problems in its code.
Please find below some examples of how this component works:
- Set maximum limit on stock position. Example, total value of a position in any stock must not go beyond 25,000/-
- Set maximum limit on the portfolio. Example, total value of all positions in a portfolio must not go beyond 25,00,000/-
- Set maximum limit on the orders. Example, total value (quantity * price) of any order must not go beyond 10,000/-
- Maximum limit on position stoploss (Example 10% loss). Strategies can have their own stoploss (example 3%, 5% etc.). But for some reason (Say, due to code issues), if the stoploss order was not entered by the strategy. Then this component enters stoploss order.
- Maximum limit on portfolio (all positions combined) stoploss (Example: Maximum of (3% portfolio value OR 15,000/-). There are days when market moves completely against your strategies, on such days this rule can avoid extreme losses.
- Set LONG/SHORT bias: Example, you can say that once the LONG portfolio value goes say beyond 2,00,000/-; then the portfolio must maintain at least 40% SHORT positions. It means that after 2,00,000/- the system will only accept SHORT orders and reject LONG orders until the SHORT value of portfolio reaches at least 80,000/- after which new longs will be accepted.
- Stock circuit safety. If you have sold SBIN @ 100 (intraday), and price closes the upper circuit (say 110), then as per this rule this position is immediately squared off.
- Strategic end of day square off (intraday): Intraday positions are squared off at end of the day by brokers using market orders. And market orders can be traded in any price, mostly bringing losses on stocks that have low liquidity. This rule saves in such situations, it starts squaring off positions before end of market using limit orders.
- Limit the stocks that are allowed to trade. Example, Only SBIN & LT are allowed to trade today.
- Exclude stocks with extremely high volatility. Example, if SUZLON has shown very large movements today then do not include it for next day’s trading.
These were just a few examples, we can have even more rules as per your requirements. For details, contact us!