Skip to content

Commit 7d1cda7

Browse files
author
Wasin Waeosri
committed
Merge branch 'v10_docs'
2 parents fe8e9a5 + 9763131 commit 7d1cda7

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
chart.png
1+
chart.png
2+
images/
3+
docs/TRKD_REST_with_Python_master.doc

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This is an example project that shows how to implement TRKD REST Client with pyt
88
- trkd_interday.py: An example application that shows how to subscribe the Interday Time-series data from TRKD service
99
- trkd_onlinereport.py: An example application that shows how to subscribe the Online Report data from TRKD service
1010
- trkd_chart.py: An example application that shows how to subscribe and download the Chart image data from TRKD service
11+
- docs\TRKD_REST_with_Python.docx: A document that describes the trkd_authen.py and trkd_quote.py applications
1112

1213

1314
#prerequisite
@@ -23,11 +24,10 @@ Run the script via the command line (or shell)
2324
$>python <application>.py
2425
```
2526

26-
2727
#Optional - How to install requests
2828
The best way is to get the pip package management tool
2929
1. export <Python_folder>\Scripts to your OS PATH environment
30-
2. call pip command to install lxml
30+
2. call pip command to install requests
3131
```
3232
$>pip install requests
3333
```
@@ -50,4 +50,7 @@ The best way is to get the pip package management tool
5050
- trkd_interday.py
5151
- trkd_onlinereport.py
5252
- trkd_chart.py
53+
- version 1.0.4: 28 Oct 2016
54+
- docs\TRKD_REST_with_Python.docx
55+
- revise some code
5356

docs/TRKD_REST_with_Python.docx

557 KB
Binary file not shown.

trkd_quote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def RetrieveQuotes(token, appid):
7171
'RequestKey': [{'Name': ricName, 'NameType': 'RIC'}],
7272
'Fields': fieldsName,
7373
'Scope': 'List',
74-
'ProvideChainLinks': True,
74+
'ProvideChainLinks': True
7575
}]}}
7676

7777
quoteURL = 'https://api.trkd.thomsonreuters.com/api/Quotes/Quotes.svc/REST/Quotes_1/RetrieveItem_3'

0 commit comments

Comments
 (0)