1
$\begingroup$

There was a recent question on adversarial AI applications, which led me to start digging around.

Here my interest is not general, but specific:

How do you game an automatic trading system by messing with data, as opposed to hacking the algorithm itself?

$\endgroup$
2
  • $\begingroup$ I think these questions are interesting, but it seems to me that you're asking slightly different questions (even though related), given that financial markets and automated trading systems are not necessarily the same, even though my knowledge of the field is like zero. I would focus on one of these questions and maybe ask other sub-questions, but you should clarify how these sub-questions related to the main one. Anyway, I think your main question should be also in the title. $\endgroup$
    – nbro
    Commented Oct 11, 2019 at 15:55
  • $\begingroup$ @nbro I wanted a flashy title for the question, but the idea is that, the method of exploitation I'm asking about involves manipulating the data set (in this case, the financial markets) to mislead automated trading systems. Thus "hacking the financial markets", with the caveat that it involves automation. $\endgroup$
    – DukeZhou
    Commented Oct 11, 2019 at 21:34

1 Answer 1

1
$\begingroup$

I don't have a proper source for this, as i've only read this from an online forum: everything i say is just hearsay and I am very uneducated on the subject. With that being said...

As you may know algorithmic trading relies on strategies, i.e. I trade a certain way once I see certain indexes move in a certain way. If your procedure is known by other people for some reason, then other adverse agents can release information or influence the market to manipulate your bot into making trades that the adverse agent then takes advantage over.

I'm not sure how this works in detail, and frankly I find it quite unlikely that a single adverse agent can target a single known strategy with the entire market in-between the two. But I've heard that a process known as the alpha algorithm can be used to discover hidden trading strategies. But again, I wasn't able to find any articles that directly linked this method towards financial trading. So my usual warning of me talking out my butt again applies.

Just a fun thought. A friend of mine told me (unfortunately, again I wasn't able to find a proper source for this) that Jane Street found that the most effective trading strategies were based on relatively simple ML techniques (I recall the specific example mentioned was just a common form of regression). The important follow question would be "What are their input metrics", I don't think I was told this, but I would believe that it would also just be something computed by relatively well-founded stock market indices. If this is the case, than again it would be very difficult for a single adverse agent to influence that particular bot since the force of the entire market is in between them.

On the opposite end, we have this redditor(finally, a source!), who amazingly analyzed about 130+ trading strategies, each of which were "big brained" in kind. This redditor concluded that all papers were essentially p-hacked, and none of the results were significant. Of course there is the possibility that authors with profitable results would not publish them, but the conclusion remains: keep your strategies simple. Again, this implies that it would be harder to "hack" a specific strategy used in the market by a particular individual.

P.S. There are other "big brained" methods that are kept well secret and thus difficult to analyze: I heard a rumour that a Chinese company paid people to take pictures inside shopping malls, to use to analyze shopping behavior, and how vibrant the economy is; I also hear that some people use satellites photos to look at, say, car dealerships, to see how much of their stuff is being purchased. Again its unclear if these techniques are profitable or not, but certainly a lot of money is being thrown into it.

$\endgroup$
3
  • $\begingroup$ actually i think this question is better asked at the quant.SE :) $\endgroup$ Commented Oct 11, 2019 at 2:43
  • $\begingroup$ You make a great fundamental point about robustness of simple strategies. PS I specifically asked over here because it involves automated trading, a form of AI $\endgroup$
    – DukeZhou
    Commented Oct 11, 2019 at 21:32
  • $\begingroup$ i agree that it could be viewed as a form of AI, but this specific instance might be better studied over there. $\endgroup$ Commented Oct 12, 2019 at 6:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .