Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

README 1.2 KB

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

Comments

Loading...