WIP: added rough poc for absorbance indicator - #48
Conversation
it shows how to calc the move-per-direction for an indication of how the buy-trades moved the market compared to the sell trades. combined with the aggr. volume of the trades it shows how well the market absorbs the according volumes. my vue and js mojo is low so the UI is really just a rough POC.
|
No worries. I just realised that the numbers are only correct for the first row in the counter, the others are just the same. Honestly i am not yet fully in the stackedSums vs. strictSums vs. queue arrays... The PR is definitly a WIP :/ Arrays instead of objects for performance reasons makes sense. Not sure how much impact there really is thou. Regarding the number. It shows how far the buy orders pushed the price compared to the sells. With the numbers from your screenshot: Gotta analyse a bit more if the numbers really are correct thou. seems off to be so equally distributed. |
somehow thought that there is a socket for every exchange... now the lastPrice is on the exchange and not one shared lastPrice for all of them.
|
Found it :D messed up the socket and exchanges, so i had one lastPrice shared over all exchanges... fixed that. now the move makes more sense. (still pretty 50:50 thou, seems the market is usually pretty balanced) |
that fixed the problem with multiple counters etc.

it shows how to calc the move-per-direction for an indication of how the buy-trades moved the market compared to the sell trades. combined with the aggr. volume of the trades it shows how well the market absorbs the according volumes.
my vue and js mojo is low so the UI is really just a rough POC.
fixes #44
Just saw that you started refactoring the arrays into objects. gotta look into that once you are done.
Pullrequest is definitly WIP until someone fixes my dirty UI hacks...