Definition#

HFT full name High Frequency Trading, as the name implies is to quickly find profit opportunities in the market, and then through the computer program to complete the transaction, in layman’s terms, high frequency trading is computer programmed trading. The trading market is full of randomness, through the following 2D meta-automata, we can see that simple rules can produce endless complex structures, the starting state is not the same, using the same rules of calculation, the final result obtained is very different, each moment of the market has its own state, the meaning of high-frequency trading is to be able to capture the next state in a short period of time can be profitable Information, and then through the algorithm to complete the automated trading.

``````(* Mathematica Code*)
fn := Module[{imgF, gifs},
imgF := Table[
Export["/tmp/ca_" <> ToString[j] <> ".gif",
Module[{random = RandomChoice[{.45, .55} -> {1, 0}, {50, 50}]},
ImageResize[

Show[#, ViewPoint -> {Pi, Pi, -Pi/4},
Background -> Black], {224, 224}] & /@

Table[
ArrayPlot3D[#,
ColorRules -> {0 -> Hue[0.15, 0.72, 1],
1 -> Hue[0.98, 1, 0.8200000000000001]},
Boxed -> False] &@(CellularAutomaton[<|"Dimension" -> 2,
"Neighborhood" -> 9, "TotalisticCode" -> 976|>,
random, {{0, i}, All}]),
{i, 0, 50}]
]],
{j, 1, 6}];
Print[imgF];
gifs = Import[#] & /@ imgF;
Export["/tmp/test.gif",
ImageCollage[#, ImagePadding -> 2] & /@ Table[
Part [#, i] & /@  gifs,
{i, 1, Length[gifs[[1]]]}]]
];
``````