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
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,11 @@
23
23
24
24
This project provides a client implementation for interacting with a FIX protocol-based API over a secure connection.
25
25
26
-
The client is capable of connecting to PT fix server, submitting new order(s), cancelling orders and handling responses (e.g. heartbeat) from the server. A heartbeat message can be sent every XX seconds where XX can be configure.
26
+
The client is capable of:
27
+
- Connecting to Power Trade Fix server
28
+
- Submitting new order(s)
29
+
- Cancelling orders
30
+
- Handling responses (e.g. heartbeat) from the server. A heartbeat message can be sent every XX seconds where XX can be configured
27
31
28
32
## Features
29
33
@@ -81,6 +85,7 @@ The client is capable of connecting to PT fix server, submitting new order(s), c
81
85
6. **Configure a certificate for PowerTrade API endpoint"
82
86
83
87
Generate a certificate for the API endpoint by inspecting & downloading public key cert from API Url e.g. api.wss.test.power.trade
88
+
84
89
Copy the certificate contents to a file which is typically named as "cert.crt", but can be called anything.
85
90
86
91
The cert file name can be added to the .env file using the CERTFILE_NAME variable, see example below.
@@ -89,10 +94,12 @@ The client is capable of connecting to PT fix server, submitting new order(s), c
89
94
CERTFILE_LOCATION='cert.crt'
90
95
```
91
96
92
-
7. **Execute the client**
97
+
8. **Execute the client**
93
98
94
99
Execute sample client with Python at command line:
95
100
```sh
96
101
python client.py
97
102
```
98
-
Review client actions as it executes logon to server, adds a new order, cancels the order while awaiting response(s). A sleep action allows time to review new order on system via API or UI before it's cancelled.
103
+
Review client actions as it executes logon to server, adds a new order, cancels the order while awaiting response(s).
104
+
105
+
A sleep action allows time to review the new order on system via API or UI before it's cancelled.
0 commit comments