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
{{ message }}
This repository was archived by the owner on Sep 29, 2024. It is now read-only.
spoof.io is a proof-of-concept web visualization tool that simulates historical Level 3 LOB data from theLUNA flash crash from May 2022, and outputs in real time orders detected as spoofing attempts.
Among the most pressing issues in algorithmic trading are spoofing tactics, where traders deceive other market participants by placing and then quickly canceling large orders. This leads to artificial price movements and compromises the trust in market fairness.
This project explores the development of aProximal Policy Optimization (PPO) agent to detect spoofing in real time usingLevel 3 Limit Order Book data from the LUNA flash crash in May 2022. We develop an anomaly detection system to label legitimate spoofing attempts. Ultimately, we simulate the market environment serving as the playground for our policy network.
Our core contributions include the integration of Proximal Policy Optimization in market surveillance, the use of Level 3 Limit Order Book data in a machine learning solution to harness temporal data, and the feature engineering of rolling statistics for price and size movements. Our experimental results demonstrate the feasibility of deep reinforcement learning in advancing market integrity:training loss converged to0.13 and obtained atotal reward of 9,500, with minimal volatility.