Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Integration:  git github
Chris Winter b73dda544e
fix_server: move server ID string init; fix finding logon message checksum
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
694d7380f6
README: another minor clarification
13 years ago
78e896479a
TODO: add list of future tasks
13 years ago
94406672cf
book: fix deadlock in matching engine thread
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
b73dda544e
fix_server: move server ID string init; fix finding logon message checksum
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
84382acd72
fix_session: fix_session_deactivate: fix race condition
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
246d5192f1
market: add API: market_get_total_orders_filled()
13 years ago
246d5192f1
market: add API: market_get_total_orders_filled()
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
a07c070fe2
Initial commit of an example trading engine
13 years ago
ccdff933ae
trading-engine: use named constant instead of magic number for sleep()
13 years ago
Storage Buckets

README

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
  1. Trading Engine
  2. ==============
  3. This project implements a very simple multi-threaded trading engine
  4. for a securites market. It is based on libcore, and supports creating
  5. a market for trading in multiple securities.
  6. The trading engine code is released under the Modified BSD license.
  7. Prerequisites
  8. =============
  9. The trading engine is dependent on libcore, which is available here:
  10. https://github.com/ChrisWinter/libcore
  11. Building
  12. ========
  13. Assuming libcore has been compiled and installed in /usr/local,
  14. then building the trading engine is as simple as:
  15. $ make
  16. If libcore has been installed elsewhere, then specify the location
  17. of libcore's include files and shared library like so:
  18. $ LIBCORE_INCDIR=<path/to/libcore/include/dir> LIBCORE_LIBDIR=<path/to/libcore/libdir> make -e
  19. Running
  20. =======
  21. Start the trading engine server:
  22. $ ./trading-engine
  23. Switch to a different shell, and spawn the test clients that will send orders to
  24. the trading engine server on the localhost:
  25. $ ./spawn_clients.sh
  26. The trading engine server will print out some basic statistics every 5 seconds.
  27. Kill the server with CTRL-C. The test clients will automatically exit when the
  28. server closes the socket.
Tip!

Press p or to see the previous file or, n or to see the next file

About

Example of a securities exchange

Collaborators 1

Comments

Loading...