Skip to content

Commit dca46b0

Browse files
author
Dmitry Shabanov
committed
updated readme
1 parent 51384ff commit dca46b0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,34 @@
11
# ctrader-fix-api
2+
3+
See example/client.py for v0.1 version
4+
5+
# Setup
6+
7+
* virtualenv -p python3 venv
8+
* ./venv/bin/pip install -r requirements.txt
9+
10+
# Usage
11+
``
12+
usage: client.py [-h] [--version] -b BROKER -u USERNAME -p PASSWORD -s SERVER
13+
[-v] [-t MAX_THREADS]
14+
15+
CTrader FIX async client.
16+
17+
optional arguments:
18+
-h, --help show this help message and exit
19+
--version show program's version number and exit
20+
-b BROKER, --broker BROKER
21+
Broker name, usually first part of sender id.
22+
-u USERNAME, --username USERNAME
23+
Account number.
24+
-p PASSWORD, --password PASSWORD
25+
Account password.
26+
-s SERVER, --server SERVER
27+
Host, ex hXX.p.ctrader.com.
28+
-v, --verbose Increase verbosity level. -v to something somewhat
29+
useful, -vv to full debug
30+
-t MAX_THREADS, --max-threads MAX_THREADS
31+
Thread limit in thread pool. Default to symbol table
32+
length.
33+
34+
``

0 commit comments

Comments
 (0)