You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order-mining calculate engine is based on SpringBoot Scheduler
The running speed is quite fast due to pure memory computation,does not rely on database at all.
The algorithm gets the same result no matter how many times it runs
1.2 Algorithm architecture
Firstly, get the curruent order book of the specified trade pair and all the emitted events from the trade constract at a time range.
Secondly, Restore the order book to the state at a previous point by redoing the sequencial event.
Thirdly, begin with the old order book and do forward with the events so as to calculate reward of each order.
Finally, accumulate the reward of diffent market of all the orders for a user.
1.3 Somethings to note
The previous cycle starts at 12:00 p.m. yesterday and ends at 12 p.m. today. Therefore, the mining results of the previous cycle will be calculated on 13:00 p.m today.