Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

madspeculator

A Theory of Market Action: Part IV - The Theory

Recommended Posts

@pmwhite, @gooni:

 

I concur with BlowFish's answer to your questions.

 

@gooni:

 

Further, BlowFish's comments and my response to his comment might provide you some clues as to why all market order buys at the ask are not necessarily "buys".

A small hint: By assigning all market order buys at ask as buys, one will be double counting buys! Enough said. As I said in my reply to BlowFish, BlowFish might be on to something!

Share this post


Link to post
Share on other sites

Is it correct to say that CVD is measuring the liquidity takers (commercials?) as the market order takes liquidity out of the Limit order book pool. But once they took the resting limit orders, they are left with the inventory which happens to be the liquidity provider once the market is visiting this zone afterward

Karish

 

Karish:

 

I don't know how FT interprets his measures, so I can't comment on his use of CVD. However, I can issue a word of caution to you: If one blindly split buys and sells as is done in the industry today (two approaches used are: (a) using quotes to split the T&S data (the perils of which I listed in my earlier post to BlowFish); and (b) as was described in Orline Foster's work: "The Ticker Technique and the art of tape reading"), one will double count the split volume.

 

Once such double counts are rectified, CVD could be used as you mentioned (although I haven't had the opportunity to analyze it yet -- a project for later!)

 

Hope this answers your question.

Share this post


Link to post
Share on other sites
@pmwhite, @gooni:

 

I concur with BlowFish's answer to your questions.

 

@gooni:

 

Further, BlowFish's comments and my response to his comment might provide you some clues as to why all market order buys at the ask are not necessarily "buys".

A small hint: By assigning all market order buys at ask as buys, one will be double counting buys! Enough said. As I said in my reply to BlowFish, BlowFish might be on to something!

Thanks to you and Blowfish for your responses. This brings me back to the reason I asked about the liquidity provider / taker definition. If I read your response correctly, then the order placement - namely limit orders determines providers and market orders determines takers.

 

However, with what you've posted in this reply to gooni and to Blowfish, it sounds as if a liquidity provider, who starts off getting hit on a limit order, and who then becomes a liquidity taker when said provider attempts to exit from the position/inventory using a market order in an effort to balance inventory, should not be treated as a liquidity taker but perhaps as a liquidity provider in spite of a market order exit. Is that the correct reading from these posts? Is this where supply/demand for liquidity providers comes in?

Share this post


Link to post
Share on other sites
This brings me back to the reason I asked about the liquidity provider / taker definition. If I read your response correctly, then the order placement - namely limit orders determines providers and market orders determines takers.

 

According to my definition of liquidity providers and liquidity takers, yes, it is the placement of orders that determine the category.

 

However, with what you've posted in this reply to gooni and to Blowfish, it sounds as if a liquidity provider, who starts off getting hit on a limit order, and who then becomes a liquidity taker when said provider attempts to exit from the position/inventory using a market order in an effort to balance inventory, should not be treated as a liquidity taker but perhaps as a liquidity provider in spite of a market order exit. Is that the correct reading from these posts? Is this where supply/demand for liquidity providers comes in?

 

You are very close to the answer as per the proposed theory, but will have to "invert" your logic. Viewed within the framework of the proposed theory, the entity while accumulating inventory is a liquidity provider, and is a liquidity taker when disposing such acquired inventory. The reason for this line of thinking is to make the measuring process relatively easier compared to your line of thinking (which is also correct, but another way of looking at the same situation) makes measurements very difficult 'cos one has to look into the future to determine if the present trade is a "liquidity provider" trade or not (just my opinion).

 

Yes, this is where the liquidity providers supply and demand comes in.

Share this post


Link to post
Share on other sites

For those interested in the tools I use to perform my research:

 

bravo, bravo...I barely know where to start in this discussion its so great.

I would like to first ask if you could do a more technical post on your software setup..This is very inline with the trading path I'm on but the biggest problem I've found is

a) retail trading software is shit

b) statistical analysis software like matlab and R are amazing because its not harder to learn than "trading scripting lanuguages".

c) since most retail traders don't use these packages though there is a HUGE interface problem with these packages to retail data vendors. Basically an API hurdle with your data provider of choice.

Are you actually interfacing to R via your data providers API?

While this is a great theoretical discussion, like urmablue's stuff on here...its vastly less usefull if you can't play with the actual toys yourself.

Edited by natedredd10

Share this post


Link to post
Share on other sites

Everything is possible. However, I am yet to find proof of such value. Also, new research in finance and economics is questioning the existence of value as we presently understand it.

 

I do think its helpfull in a discussion such as this that we toss poisoned trading terms like S/R, "momentum" in the trash can..even "value" is a bit poisoned with bias on this board because of MP ideas.

Even "intrinsic value" is a poisoned term from too much economics literature...as if there is a machine locked away in Antwerp that knows the exact value of things and everyone is voting on what this machine has come up with. Its probly a heuristic hardwired in our brain to seek a leader such as this, even though none exists outside the illusion of the consensus in markets. The consensus does form sometimes though, which to me is what traders call S/R...the problem with that line of thought though is its like thinking the ocean's function is to create waves...the ocean is not trying to create waves, but waves are a property that emerges in a system like the ocean. Traditional ideas of S/R are poisoned by this bias that at that point exists some binomial distribution on what price is going to do above/below that point.

I don't see how you explain markets better than the concept of the minority game. It doesn't defy common sense, is not overly complex and exhibits exactly what we see in markets with the payoffs flowing to the minority.

With that in mind its hard to view myself as either a liquidity provider/taker..Part of the problem is the microstructure literature is not thinking about what we are doing as retail traders. The liquidity offered to me as a trader is basically infinite, the liquidty i offer is basically meaningless. 2 bit pirate surfing waves of liquidity, that the microstructure literature doesn't need to bother with.

Share this post


Link to post
Share on other sites
However, the "false positive" (price going in the opposite direction than what was predicted), in my mind, is the true measure of risk for a trading model; my risk management is a function of my false positive analysis.

 

Totally agree that the absolute most poisoned trading term is predictability...

I really like the idea of "false positive"..False positives are why most people have a hard time strategically in trading.

My only problem though is that idea is too exact, too medical almost..

How do you control for the stochastic part of markets in your research?

Share this post


Link to post
Share on other sites

This is exactly how client order execution algos work! You might be on to something here. :) Now, go one step further and think about how index arbs programs might work, and how index option market makers might trade index futuers (these two steps are necessary only if you trade index futures or futures that might be used for hedging other financial instruments), and you will get the "full" picture!

 

Index arbs are the elephant in the room in this discussion. The idea of thinking about index arbs inventory is senseless IMO because they may as well transact at the speed of light from our position...I don't see how it makes any sense to even bother trying to get a read on index arbs inventory as a liquidity provider...you will already be looking in the past the moment the data hits your screen.

I would love to know though what you think about index option market makers..I'm years away from fitting them into my optimal trading strategy but I would bet it all you can get a nice read on position sizing on index futures bets from the ability to read the volatility surface of index option market makers. Vastly better than something as absurd as ATR, or something you can even see inverse correlation with the naked eye by pulling up a chart of the VIX.

Share this post


Link to post
Share on other sites

I would like to first ask if you could do a more technical post on your software setup..This is very inline with the trading path I'm on but the biggest problem I've found is

a) retail trading software is shit

b) statistical analysis software like matlab and R are amazing because its not harder to learn than "trading scripting lanuguages".

c) since most retail traders don't use these packages though there is a HUGE interface problem with these packages to retail data vendors. Basically an API hurdle with your data provider of choice.

Are you actually interfacing to R via your data providers API?

While this is a great theoretical discussion, like urmablue's stuff on here...its vastly less usefull if you can't play with the actual toys yourself.

 

I am not going to pretend that my infrastructure resembles that of a typical retail trader. I have a messaging bus the connects all components of my infrastructure. The components include a MySQL db, R, trading platform (home grown), and broker interface. I also have a CQG feed that I use for cross-checks.

Share this post


Link to post
Share on other sites
Totally agree that the absolute most poisoned trading term is predictability...

I really like the idea of "false positive"..False positives are why most people have a hard time strategically in trading.

My only problem though is that idea is too exact, too medical almost..How do you control for the stochastic part of markets in your research?

 

I haven't found an acceptable way to control for "local" stochastic vol. The way I overcome the problem of estimating such "local" stochastic vol is by creating a proxy that is a function of the traded funds (my risk). The biggest problem with this approach is that I am using a proxy which is not correlated to the local stochastic vol. I am ok with it, for now.

 

If you or anyone else have any other suggestion, I am all ears!

Share this post


Link to post
Share on other sites
Index arbs are the elephant in the room in this discussion. The idea of thinking about index arbs inventory is senseless IMO because they may as well transact at the speed of light from our position...I don't see how it makes any sense to even bother trying to get a read on index arbs inventory as a liquidity provider...you will already be looking in the past the moment the data hits your screen.

 

You are correct that the moves they produce are phenomenal, and so is their inventory effect. However, the reason one needs to be aware of those arb programs is to expect it. Also, you will be surprised that many a times, because of the way they operate, a trader who can recognize such trades will be able to get really good trade locations before the move starts.

 

I would love to know though what you think about index option market makers..I'm years away from fitting them into my optimal trading strategy but I would bet it all you can get a nice read on position sizing on index futures bets from the ability to read the volatility surface of index option market makers. Vastly better than something as absurd as ATR, or something you can even see inverse correlation with the naked eye by pulling up a chart of the VIX.

 

The usefulness of a vol-surface for a trader like me (primarily high-frequency) is very limited. They seldom change appreciably during the day unless there is an event, and they only show the option MM's collective long-term bias. It will be great if I could some how read each of the option MM's individual vol-surface (which will show their inventory bias), but that is not possible. On the other hand, may be, there is information in the vol-surface that a high-frequency trader can make use of, but I haven't discovered it yet.

Edited by madspeculator

Share this post


Link to post
Share on other sites

OK so any single transaction is between, at that point in time, a liquidity provider (limit order) and a liquidity taker (market order). In order to differentiate whether to allocate said transactions as 'buys' or 'sells' is dependent on determining which side is expected to be holding inventory at the end of the transaction.

 

This I suppose is clear enough. I haven't yet deciphered the cryptic clues, especially the one about counting buys twice (although my thinking, so far, is that it's potentially counted once as a sell on the liquidity provider side then later as a buy on the liquidity taker side, which may have the 'effect' of counting it twice as a buy). Clear as mud? Is for me...

Share this post


Link to post
Share on other sites
You are correct that the moves they produce are phenomenal, and so is their inventory effect. However, the reason one needs to be aware of those arb programs is to expect it. Also, you will be surprised that many a times, because of the way they operate, a trader who can recognize such trades will be able to get really good trade locations before the move starts.

 

 

Do you use other traditional market internal type indicators in the correlated market to try to help detect when these are going off e.g. Prem Tick Tikki etc.? I guess you must try to identify the arbitrage opportunity to get in with/ahead of these programs?

 

Incidentally arbs use the concept of 'value' but not in an MP sense, there assumption is the basis (difference in prices of the components of the hedge portfolio) will return to 'fair value'.

Share this post


Link to post
Share on other sites
Incidentally arbs use the concept of 'value' but not in an MP sense, there assumption is the basis (difference in prices of the components of the hedge portfolio) will return to 'fair value'.

Yes, but there's a empirically measurable and practical idea of value, rather than some ephemeral concept that is often touted through MP. It is not so much value as efficiency.

Share this post


Link to post
Share on other sites
I do think its helpfull in a discussion such as this that we toss poisoned trading terms like S/R, "momentum" in the trash can..even "value" is a bit poisoned with bias on this board because of MP ideas.

Even "intrinsic value" is a poisoned term from too much economics literature...as if there is a machine locked away in Antwerp that knows the exact value of things and everyone is voting on what this machine has come up with. Its probly a heuristic hardwired in our brain to seek a leader such as this, even though none exists outside the illusion of the consensus in markets. The consensus does form sometimes though, which to me is what traders call S/R...the problem with that line of thought though is its like thinking the ocean's function is to create waves...the ocean is not trying to create waves, but waves are a property that emerges in a system like the ocean. Traditional ideas of S/R are poisoned by this bias that at that point exists some binomial distribution on what price is going to do above/below that point.

I don't see how you explain markets better than the concept of the minority game. It doesn't defy common sense, is not overly complex and exhibits exactly what we see in markets with the payoffs flowing to the minority.

With that in mind its hard to view myself as either a liquidity provider/taker..Part of the problem is the microstructure literature is not thinking about what we are doing as retail traders. The liquidity offered to me as a trader is basically infinite, the liquidty i offer is basically meaningless. 2 bit pirate surfing waves of liquidity, that the microstructure literature doesn't need to bother with.

 

Thank you for the post, I really enjoyed reading it.

I've begun to see the markets as a "Trapping Structure" perhaps that's just a different way of putting what you have posted as a "minority game". All the same I am learning to identify the trap being set by the hunters out there, it's enjoyable to see that their actions are repetitive even if the market isn't.

Share this post


Link to post
Share on other sites
I also have a CQG feed that I use for cross-checks.

Hey Madspeculator, I see you have CQG....I just set myself up with another futures account to try out CQG (because they have excellent bid/ask data) and eventually see if they could add Cumulative Delta candlsticks capability. They already have the data formated properly for their TFlow charts so it should be VERY EASY for CGQ to add CD candlesticks. I would LOVE to one day have the charting/trade platform/and data source all combined for my Cumulative Delta charting/trading needs.

Share this post


Link to post
Share on other sites
BlowFish:

 

This is exactly how client order execution algos work! You might be on to something here. :) Now, go one step further and think about how index arbs programs might work, and how index option market makers might trade index futuers (these two steps are necessary only if you trade index futures or futures that might be used for hedging other financial instruments), and you will get the "full" picture!

 

 

I guess I could have rolled this into the previous post but separate train of thought. Trouble with arbs is there are so many types. For this I guess it's Ok to leave aside the esoteric types and focus on the S&P. I guess that means we are looking at the cash as the reference instrument? That would make the futures and or the options the hedge. Lets leave aside options for now. I find it hard enough to think about 2 things at once let alone 3!

 

Can we consider arbs in a similar way to the traders we have discussed?....heres my thinking. Arbs will essentially try to provide liquidity in the markets they trade as they are legging in and out of positions. The cash position (being the reference instrument) may leave our Arb requiring inventory for there hedge. Like the trader executing for the elephant they might need to take liquidity form the hedging market (the futures) to balance out there hedging portfolio. Does this sound plausible?

 

I think I can see the pieces of the puzzle sitting there on the table but I am not sure I am closer to putting them together! (i.e detecting things) Might be time to start drawing boxes and arrows.

Share this post


Link to post
Share on other sites

Pardon for my lack of knowledge, can you please explain why during the process of distributing large stock block, the algo provider need to buy inventory. Even if they do need to buy some inventory during the distribution process in order to minimize their effect on the stock price, one would expect that the algo process would clear the unnecessary inventory along the process, and not to carry to much to the end.

 

Thanks, Karish

 

These algorithms, in the process of filling a trader’s order, end up buying or selling more quantity that is really needed. This excess quantity, in the hands of the algo-trading providers, then becomes “inventory”.

Share this post


Link to post
Share on other sites
Pardon for my lack of knowledge, can you please explain why during the process of distributing large stock block, the algo provider need to buy inventory.

 

 

 

 

This is exactly how client order execution algos work!

 

My emphasis. Fulfilling the client order may leave you holding some 'working' inventory or even taking some of the clients inventory just to finish their order.

Share this post


Link to post
Share on other sites

Thx BF,

 

One of the theory's tenants is that during weak order flow that liquidity provider will trigger Stop Loss, any idea if we should categorize it as part of their inventory balancing or it is just making easy money?

Share this post


Link to post
Share on other sites
The obvious answer (well to me so it might be half baked) is that they would try to offset the position to other side liquidity takers. If that is not possible they would demand inventory from other side liquidity providers. I guess one might assume the very fact they have ended up with an inventory imbalance would mean they might swiftly move to step two, demanding liquidity?

 

Isn't this a fundamental issue when there is an intermediary the intent liquidity requirements of the original participant is obscured?

 

How can they demand inventory from other side liquidity provider?

Share this post


Link to post
Share on other sites

Thanks for presenting your theory. Very interesting. I was able to follow your abstract description but when I came to the following part I was wondering how something like this would look like an actual trade scenario:

 

The author’s own work presented below tries to estimate the demand and supply of both the liquidity providers and liquidity takers. By monitoring the demand and supply of liquidity providers, the author is able to notice the inventory adjustment process [...] NIP measures the inventory held by liquidity providers, and NOP measures imbalance in the liquidity takers’ order flow. The sum of these two parameters is the “real” order flow imbalance.

 

A) Could you give an example on how one would determine liquidity providers and liquidity takers with T&S and/or quote data? Something like market goes bid, it's bid so many contracts, trades so many contracts, then trades the offer until its cleared, offer goes bid, etc. Who would be the liquidity provider vs. the liquidity taker?

 

B) And how do you determine when liquidity providers are balancing their inventory (I am referring to tenant 4d)

 

C) How are liquidity providers reacting to the increased volatility of the past days? They can't balance their inventory with so much order flow and so little liquidity when markets are so volatile.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • Date: 22nd November 2024.   BTC flirts with $100K, Stocks higher, Eurozone PMI signals recession risk.   Asia & European Sessions:   Geopolitical risks are back in the spotlight on fears of escalation in the Ukraine-Russia after Russia reportedly used a new ICBM to retaliate against Ukraine’s use of US and UK made missiles to attack inside Russia. The markets continue to assess the election results as President-elect Trump fills in his cabinet choices, with the key Treasury Secretary spot still open. The Fed’s rate path continues to be debated with a -25 bp December cut seen as 50-50. Earnings season is coming to an end after mixed reports, though AI remains a major driver. Profit taking and rebalancing into year-end are adding to gyrations too. Wall Street rallied, led by the Dow’s 1.06% broadbased pop. The S&P500 advanced 0.53% and the NASDAQ inched up 0.03%. Asian stocks rose after  Nvidia’s rally. Nikkei added 1% to 38,415.32 after the Tokyo inflation data slowed to 2.3% in October from 2.5% in the prior month, reaching its lowest level since January. The rally was also supported by chip-related stocks tracked Nvidia. Overnight-indexed swaps indicate that it’s certain the Reserve Bank of New Zealand will cut its policy rate by 50 basis points on Nov. 27, with a 22% chance of a 75 basis points reduction. European stocks futures climbed even though German Q3 GDP growth revised down to 0.1% q/q from the 0.2% q/q reported initially. Cryptocurrency market has gained approximately $1 trillion since Trump’s victory in the Nov. 5 election. Recent announcement for the SEC boosted cryptos. Chair Gary Gensler will step down on January 20, the day Trump is set to be inaugurated. Gensler has pushed for more protections for crypto investors. MicroStrategy Inc.’s plans to accelerate purchases of the token, and the debut of options on US Bitcoin ETFs also support this rally. Trump’s transition team has begun discussions on the possibility of creating a new White House position focused on digital asset policy.     Financial Markets Performance: The US Dollar recovered overnight and closed at 107.00. Bitcoin currently at 99,300,  flirting with a run toward the 100,000 level. The EURUSD drifts below 1.05, the GBPUSD dips to June’s bottom at 1.2570, while USDJPY rebounded to 154.94. The AUDNZD spiked to 2-year highs amid speculation the RBNZ will cut the official cash rate by more than 50 bps next week. Oil surged 2.12% to $70.46. Gold spiked to 2,697 after escalation alerts between Russia and Ukraine. Heightened geopolitical tensions drove investors toward safe-haven assets. Gold has surged by 30% this year. Haven demand balanced out the pressure from a strong USD following mixed US labor data. Silver rose 0.9% to 31.38, while palladium increased by 0.9% to 1,040.85 per ounce. Platinum remained unchanged. Always trade with strict risk management. Your capital is the single most important aspect of your trading business.   Please note that times displayed based on local time zone and are from time of writing this report.   Click HERE to access the full HFM Economic calendar.   Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE!   Click HERE to READ more Market news. Andria Pichidi HFMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • A few trending stocks at support BAM MNKD RBBN at https://stockconsultant.com/?MNKD
    • BMBL Bumble stock watch, pull back to 7.94 support area with high trade quality at https://stockconsultant.com/?BMBL
    • LUMN Lumen Technologies stock watch, pull back to 7.43 support area with bullish indicators at https://stockconsultant.com/?LUMN
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.