Working on some execution optimisation related backtesting. I have so far been executing with market orders only. Going towards higher lot sizes, I'd like to optimise for minimal slippage.

First off, on NSE, if you place a market order, you get filled at the best bid/ask right?

If we want to optimise this, the first non-creative idea one can think of is, slicing the order into different lot sizes, and placing a limit order for each slice at the mid point of current best bid & ask.

But this requires your latency to be the least.
Why would latency affect it?

I looked at tick historical data, and there are more than 18-20 ticks in a second (auction and quote combined).

Even if you keep 10 ticks per second, your best bid/ask can shift from the time you place to the time exchange receives the order.
So, the next best thing that people can do is place tranches of orders every 1s, 3s, 5s, 10s, 15s - in their preferred time range, and get filled at the midpoint or best-bid+1/2/3/4/5 in the depth.

What you need is liquidity.
But if you're trading breakouts, then it's highly likely that your limit orders may not get filled if the action is too fast.

So, a retry mechanism is required in such cases.

If nothing works, you convert your orders to marketable and get filled at worse slippage.
But such scenario happens like once or maybe twice a month. 90% days, you would have your limit orders filled - this is what I have learnt from other people.

Now, what I am trying to do is to understand whether I can minimise slippage working with market orders only.

More from Shravan Venkataraman ๐Ÿ”ฅ๐Ÿš€๐Ÿ’ฐ

Hedge Funds spend millions of dollars per year to access high quality financial datasets.

Retail sources cost anywhere from $5k-50k per year.

But, here are 11 data sources that have HIGH QUALITY and FREE data you can access right away.

๐Ÿงต ๐Ÿ‘‡

1/ Alpha Vantage |
https://t.co/ExlS7Jdnsz

Provides real time & historical equities, forex, and cryptocurrencies data across 60+ exchanges.

They provide both intraday and D/W/M timeframe data.

You can also access economic & fundamental data for last 20 years through them.

2/ IEX | https://t.co/drqeoU8Ee1

Investors Exchange provides historical data going back upto 15 years for US equities through API access.

You'll need an API key in order to access the API.

3/ EconDB | https://t.co/6mZxDeaJfh

This website provides economic data and economic indicators for almost all the countries in the world.

You can search for your preferred dataset through their search engine here

4/ Quandl | https://t.co/fW4PEQaW66

Quandl has financial and alternate data across 50+ exchanges, from over 300 sources.

They also have information on capital markets, energy, shipping, healthcare, education, demography, economics and society.

More from Trading

FREE MINI STOCK MBA
If you wish to learn abt trading,psychology,options,business etc
You can go through this thread.
Other than this I do post videos on my YT channel : -Abhishek Kar & Tradiostation
-Intraday views on FREE telegram : Abhishek Kar Official
RT will be appreciated

1. Threads to learn Options
https://t.co/wabkek43I8

2. https://t.co/OIDenHKdWN

3. Some core rules to investing
https://t.co/37d1pygp7P

4.Summing up 2020 Trading lessons
https://t.co/jSUb1lSGbQ

5.Effects of margin change on


6. Exciting story about a trader who destroyed a Bank
https://t.co/CsEEhIsD3q

7. Some Thought Provoking facts about stock markets
https://t.co/IjxpX5Wx24

8. A dose on Trading and investing


9. Top 5 resources to learn everything about stocks
https://t.co/6KnIySBGIG

10. Some Pro Tips on Trading
https://t.co/EiSGikt7jv

11. Wisdom on stuffs you should not do
https://t.co/bI2dH0XTSS

12. Reasons why you are losing the


13. The DARK side of stock market
https://t.co/qsteGcbquI

14. Stocks where you should NOT invest
https://t.co/2tD5q0K3UQ

15. Lessons from MILLIONAIRE trader
https://t.co/Pec6LmUtGa

16. Lessons from my
๐—ก๐—ถ๐—ณ๐˜๐˜†-๐—•๐—ฎ๐—ป๐—ธ๐—ป๐—ถ๐—ณ๐˜๐˜† ๐—ข๐—ฝ๐˜๐—ถ๐—ผ๐—ป ๐—•๐˜‚๐˜†๐—ถ๐—ป๐—ด ๐—ฆ๐˜๐—ฟ๐—ฎ๐˜๐—ฒ๐—ด๐˜†

Complete Backtest and Indicator link

๐Ÿงต A Thread ๐Ÿงต

๐—ฆ๐—ฒ๐˜๐˜‚๐—ฝ:
๐Ÿ”ธ Monthly Option Buying
๐Ÿ”ธ 50 ema on 3 min timeframe
๐Ÿ”ธ Supertrend 10 , 3
๐Ÿ”ธ Chart : Banknifty , Nifty Futures as we backtested on futures
๐Ÿ”ธ Entry 9:20 to 3:00
๐Ÿ”ธ Max 3 Entries per day
๐Ÿ”ธ Premium nearest to 200 Rs only

[2/18]

Why Monthly Option buying ?
๐Ÿ”ธ Less theta decay compared to weekly options
๐Ÿ”ธ Less Volatility
๐Ÿ”ธ Supertrend and MA Settings
[3/18]


๐Ÿ”ธ Indicator Link
๐Ÿ”ธ Click on the below ๐˜ญ๐˜ช๐˜ฏ๐˜ฌ -> ๐˜ˆ๐˜ฅ๐˜ฅ ๐˜ต๐˜ฐ ๐˜๐˜ข๐˜ท๐˜ฐ๐˜ถ๐˜ณ๐˜ช๐˜ต๐˜ฆ๐˜ด -> ๐˜ˆ๐˜ฅ๐˜ฅ ๐˜ฐ๐˜ฏ ๐˜Š๐˜ฉ๐˜ข๐˜ณ๐˜ต from favourites and start using it !

๐Ÿ”ธ
https://t.co/zVXavqLBto
[4/18]

๐—œ๐—ป๐—ฑ๐—ถ๐—ฐ๐—ฎ๐˜๐—ผ๐—ฟ ๐—ฆ๐—ฒ๐˜๐˜๐—ถ๐—ป๐—ด๐˜€ :
๐Ÿ”ธ Max 6 Trades per day ( Both CE and PE buy)
๐Ÿ”ธ Timings 9:20 am to 3:00 pm
๐Ÿ”ธ Supertrend : 10,3
๐Ÿ”ธ Moving Average 50 ema
[5/18]

You May Also Like

I just finished Eric Adler's The Battle of the Classics, and wanted to say something about Joel Christiansen's review linked below. I am not sure what motivates the review (I speculate a bit below), but it gives a very misleading impression of the book. 1/x


The meat of the criticism is that the history Adler gives is insufficiently critical. Adler describes a few figures who had a great influence on how the modern US university was formed. It's certainly critical: it focuses on the social Darwinism of these figures. 2/x

Other insinuations and suggestions in the review seem wildly off the mark, distorted, or inappropriate-- for example, that the book is clickbaity (it is scholarly) or conservative (hardly) or connected to the events at the Capitol (give me a break). 3/x

The core question: in what sense is classics inherently racist? Classics is old. On Adler's account, it begins in ancient Rome and is revived in the Renaissance. Slavery (Christiansen's primary concern) is also very old. Let's say classics is an education for slaveowners. 4/x

It's worth remembering that literacy itself is elite throughout most of this history. Literacy is, then, also the education of slaveowners. We can honor oral and musical traditions without denying that literacy is, generally, good. 5/x