### Developing Algorithms for Trading

## Algorithms for Trading

In Present market Traders uses various kinds of algorithms according to there strategy the most Popular Algorithms in practice which is most commonly used algorithms in the market place are: volume weighted average price (VWAP), time weighted average price (TWAP), arrival price, market-on-close (MOC), and implementation shortfall and the difference between the share-weighted average execution price and the mid-quote at the point of first entry for market or discretionary orders. Arrival price is the midpoint of the bid-offer spread at order-receipt time, and it also notes the speed of the execution. VWAP is calculated by adding the Points traded for every transaction in terms of price and multiplying that by shares traded, and then dividing that by the total shares traded for the day. MOC measures the last price obtained by a trader at the end of the day against the last price reported by the exchange. Implementation shortfall is a model that weighs the urgency of executing a trade against the risk of moving the stock. Generally most algorithms already allow customers to change the timing of executions, the rate of order-filling attempts at the beginning or end of the trading day, and the tolerance for the slippage of a stock from certain benchmarks.## Algorithms Development Process for Trading

Development of algorithms involves in lots of analysis and calculations of designing strategies, as algorithms are meant to meet the trading strategy objectives of the trader. Algorithms are meaningless if the strategies don’t perform. The basic processes involved are: closely interacting with the users to understand their strategies, creating an algorithm based on the inputs, presenting the client with results of back tests and analysis using historical tick-level data. The algorithm is then released to one or two beta clients, who begin to use it on small volumes of live trades. From that point the vendor and the client will engage in a period of iterative feedback s during which they conduct post-trade analysis to ensure that the desired results are being achieved. The final product is moved up and down the development chain with constant feedback from the end user. Once the required results are obtained the product is finalized. The basic fact to remember is that the client is just interested in results and they demand good performance and profits with it, speed of execution. So the manner in which an algorithm is tested or the manner in which it is implemented is rarely of concern to the trader.