spencerbug / RLTrader

Trading and Portfolio Management using swarm population based reinforcement learning in an exchabge
4 stars 0 forks source link

Create the exchange analytics server #3

Open spencerbug opened 2 years ago

spencerbug commented 2 years ago

This server receives the broadcast messages of updated individual positions of orders (filled/unfilled updates from the exchange server) It then creates all features and metrics, preprocessed, that can be passed to all the trading agents directly, so they can all share the same data. Data consists of

All this data will be processed in realtime by a dedicated core or GPU, and the LSTM autoencoder will have its weights updated with online learning every few timesteps. The data shall be made available for every agent in the network, by using shared numpy buffers, or via UDP broadcast.

spencerbug commented 1 year ago

Updating this ticket, we will not be z-score normalizing the output, instead leaving that to the individual trading bots to do. Current analytics sever plan will output a ringbuffer containing: SMA, RSI, ADX, MACD, WVAP, CCI, OBV, TSI, Open, High, Low, Close, Volume, a fixed size depth chart with a variably sized price buckets using a pattern, and the full volume depth chart without bounds, this last one would be convolved for a variable sized input on the RL Agent