Related Issues (14)
- A java socket server that listens for connections and shuts down gracefully when terminated
- Client creates and sends an order to the exchange
- Client receives and handles order confirmation from the exchange
- Client requests 'market data' in the form of market depth orders from the exchange, and handles/prints the response
- Client sends order cancellation message to server to remove order
- Client keeps track locally of 'current positions' and can display them upon request.
- Server Launches a new thread for each connection accepted
- Server generates unique ID for connected client, and sends to client as first response HOT 1
- Server sends order confirmation when order has been received with a unique order ID
- Order processing logic to either match order instantly (and remove) or place order in an active threadsafe queue (by price level)
- Sever sends fill notifications (of a trade executed) to the corresponding parties involved in the trade.
- Server accepts order cancellation requests from client, removes order from it's appropriate queue.
- Client connects to server and passes it's assigned clientID (needed for orders) for the session
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-stock-exchange-java-client-server.