Skip to content

Commit 2d19b0b

Browse files
committed
fix typo and link
1 parent 24b0ded commit 2d19b0b

File tree

4 files changed

+45
-46
lines changed

4 files changed

+45
-46
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RKD HTTP JSON with Python Example
22
## Overview
3-
The [Refinitiv Knowledge Direct (RKD) API](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) (formerly known as TRKD API)integrates into your website, trading platform, company intranet/extranet, advisory portal and mobile applications to provide up-to-date financial market data, news and analytics and powerful investment tools.
3+
The [Refinitiv Knowledge Direct (RKD) API](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) (formerly known as TRKD API) integrates into your website, trading platform, company intranet/extranet, advisory portal and mobile applications to provide up-to-date financial market data, news and analytics and powerful investment tools.
44

55
RKD offers a wide range of Refinitiv' information and services delivered in a request-response scenario via web services using today's industry standard protocols (SOAP/XML and REST/JSON). Connectivity can be via HTTP and HTTPS, over the Internet or Delivery Direct. All data are snapshot (non-streaming) data.
66

@@ -24,14 +24,13 @@ This project contains the following example scripts for each RKD services
2424
- *notebook/trkd_timeseries_interday.ipynb*: A Jupyter Notebook RKD Time-Series Interday service example
2525
- *notebook/trkd_timeseries_intraday.ipynb*: A Jupyter Notebook RKD Time-Series Intraday service example
2626
- requestments.txt: A requirement file contains a list of required libraries for HTTP JSON and WebSocket connections.
27-
- docs\TRKD_REST_with_Python.docx: A document that describes the trkd_authen.py and trkd_quote.py applications
2827

2928
All source code and scripts are provided under the Apache 2.0 license. They are provided AS IS with no warranty or guarantee of fit for purpose. See the project's LICENSE.md for details.
3029

3130
## Prerequisite
3231
The following softwares are required to use this script
3332
- RKD API credentials. Please reach out to your Refinitiv sales associate to acquire RKD access credentials.
34-
- Python 3
33+
- [Python 3](https://www.python.org/).
3534
- The [requests](http://docs.python-requests.org/en/master/) library
3635
- The [websocket-client](https://pypi.org/project/websocket-client/) library (*version 0.49 or greater*, for trkd_wsstreaming.py application only)
3736
- The [python-dateutil](https://pypi.org/project/python-dateutil/) library (for trkd_wsstreaming.py application only)

notebook/trkd_authentication.ipynb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# TRKD HTTP JSON with Python Example: Authentication\n",
7+
"# RKD HTTP JSON with Python Example: Authentication\n",
88
"\n",
99
"## Overview\n",
10-
"The [Thomson Reuters Knowledge Direct (TRKD) API](https://developers.thomsonreuters.com/thomson-reuters-knowledge-direct-trkd) integrates into your website, trading platform, company intranet/extranet, advisory portal and mobile applications to provide up-to-date financial market data, news and analytics and powerful investment tools.\n",
10+
"The [Refinitiv Knowledge Direct (RKD) API](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) (formerly known as TRKD API)integrates into your website, trading platform, company intranet/extranet, advisory portal and mobile applications to provide up-to-date financial market data, news and analytics and powerful investment tools.\n",
1111
"\n",
12-
"TRKD offers a wide range of Refinitiv' information and services delivered in a request-response scenario via web services using today's industry standard protocols (SOAP/XML and REST/JSON). Connectivity can be via HTTP and HTTPS, over the Internet or Delivery Direct. All data are snapshot (non-streaming) data.\n",
12+
"RKD offers a wide range of Refinitiv' information and services delivered in a request-response scenario via web services using today's industry standard protocols (SOAP/XML and REST/JSON). Connectivity can be via HTTP and HTTPS, over the Internet or Delivery Direct. All data are snapshot (non-streaming) data.\n",
1313
"\n",
14-
"This is an example project that shows how to implement TRKD HTTP JSON client with Python programming lanugage in Jupyter Notebook.\n",
14+
"This is an example project that shows how to implement RKD HTTP JSON client with Python programming lanugage in Jupyter Notebook.\n",
1515
"\n",
16-
"### TRKD JSON application implementation process\n",
16+
"### RKD JSON application implementation process\n",
1717
"The JSON application requires the following steps to consume data from TRKD API services\n",
18-
"1. Authentication with TRKD Authentication service to get an authen token\n",
18+
"1. Authentication with RKD Authentication service to get an authen token\n",
1919
"2. Send a request message with the required input information and authen token to the interested TRKD service"
2020
]
2121
},
@@ -97,18 +97,18 @@
9797
"cell_type": "markdown",
9898
"metadata": {},
9999
"source": [
100-
"#### TRKD Service Token Detail\n",
101-
"##### TRKD Service Token URL and Header\n",
100+
"#### RKD Service Token Detail\n",
101+
"##### RKD Service Token URL and Header\n",
102102
"\n",
103-
"The URL enponint for the TRKD Service Token is following:\n",
103+
"The URL enponint for the RKD Service Token is following:\n",
104104
"[https://api.trkd.thomsonreuters.com/api/TokenManagement/TokenManagement.svc/REST/Anonymous/TokenManagement_1/CreateServiceToken_1](https://api.trkd.thomsonreuters.com/api/TokenManagement/TokenManagement.svc/REST/Anonymous/TokenManagement_1/CreateServiceToken_1)\n",
105105
"\n",
106106
"Header: \n",
107107
"- Content-type = application/json;charset=utf-8\n",
108108
"Method:\n",
109109
"- Post\n",
110110
"\n",
111-
"##### TRKD Service TOKEN Request Message\n",
111+
"##### RKD Service TOKEN Request Message\n",
112112
"\n",
113113
"The CreateServiceToken_1 operation requires the following information to perform authentication\n",
114114
"- ApplicationID\n",
@@ -230,7 +230,7 @@
230230
"metadata": {},
231231
"source": [
232232
"## Conclusion\n",
233-
"All TRKD HTTP JSON applications require authenticaiton to access TRKD data. The application needs to request for Service Token from TRKD server, then keeps a response Service Token for later use in other request message header."
233+
"All RKD HTTP JSON applications require authenticaiton to access RKD data. The application needs to request for Service Token from RKD server, then keeps a response Service Token for later use in other request message header."
234234
]
235235
},
236236
{
@@ -239,12 +239,12 @@
239239
"source": [
240240
"## References\n",
241241
"For further details, please check out the following resources:\n",
242-
"* [Thomson Reuters Knowledge Direct API page](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) on the [Refinitiv Developer Community](https://developers.thomsonreuters.com/) web site.\n",
243-
"* [Thomson Reuters Knowledge Direct API Catalog](https://www.trkd.thomsonreuters.com/SupportSite/RequestBuilder/requestbuilder.aspx) web site.\n",
242+
"* [Refinitiv Knowledge Direct API page](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) on the [Refinitiv Developer Community](https://developers.refinitiv.com) web site.\n",
243+
"* [Refinitiv Knowledge Direct API Catalog](https://www.trkd.thomsonreuters.com/SupportSite/RequestBuilder/requestbuilder.aspx) web site.\n",
244244
"* TRKD Article: [How to implement TRKD JSON application with Python chapter 1: the basic](https://developers.refinitiv.com/article/how-implement-trkd-json-application-python-chapter-1-basic)\n",
245245
"* [TRKD Tutorial](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd/thomson-reuters-knowledge-direct-api-trkd-api/learning).\n",
246246
"\n",
247-
"For any question related to this tutorial or TRKD API, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/spaces/51/view.html)."
247+
"For any question related to this tutorial or RKD API, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/spaces/51/view.html)."
248248
]
249249
},
250250
{
@@ -271,7 +271,7 @@
271271
"name": "python",
272272
"nbconvert_exporter": "python",
273273
"pygments_lexer": "ipython3",
274-
"version": "3.7.3"
274+
"version": "3.7.6"
275275
}
276276
},
277277
"nbformat": 4,

notebook/trkd_timeseries_interday.ipynb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# TRKD HTTP JSON with Python Example: Time-Series Interday\n",
7+
"# RKD HTTP JSON with Python Example: Time-Series Interday\n",
88
"\n",
99
"\n",
1010
"## Time-Series Interday Interday Introduction\n",
11-
"TRKD Time-Series Interday requests let you retrieve historical time series prices on an instrument, summarized in daily, weekly, monthly, quarterly, or annual periods. For each period, details such as the opening price, closing price, highest and lowest prices, Closing Yield value of the period, and Bid price and Ask price of the stock are retrieved. Historical interday time series prices for instruments are available back to 1981.\n",
11+
"RKD Time-Series Interday requests let you retrieve historical time series prices on an instrument, summarized in daily, weekly, monthly, quarterly, or annual periods. For each period, details such as the opening price, closing price, highest and lowest prices, Closing Yield value of the period, and Bid price and Ask price of the stock are retrieved. Historical interday time series prices for instruments are available back to 1981.\n",
1212
"\n",
1313
"\n",
1414
"*Note*: A maximum of 5000 points is retrievable in a single call to the Time Series service. Any data over the 5000 record limit is\n",
1515
"truncated. If you do need a great number of records (more than 5000 records), Refinitiv recommends that you break\n",
1616
"up your query into several requests and then combine the responses together.\n",
1717
"\n",
18-
"### TRKD JSON application implementation process\n",
19-
"The JSON application requires the following steps to consume data from TRKD API services\n",
20-
"1. Authentication with TRKD Authentication service to get an authen token\n",
21-
"2. Send a request message with the required input information and authen token to the interested TRKD service"
18+
"### RKD JSON application implementation process\n",
19+
"The JSON application requires the following steps to consume data from RKD API services\n",
20+
"1. Authentication with RKD Authentication service to get an authen token\n",
21+
"2. Send a request message with the required input information and authen token to the interested RKD service"
2222
]
2323
},
2424
{
@@ -71,7 +71,7 @@
7171
"metadata": {},
7272
"source": [
7373
"### Authentication Process\n",
74-
"For you reference, please see more detail regarding TRKD Authentication service in [TRKD Tutorial: Authentication](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd/thomson-reuters-knowledge-direct-api-trkd-api/learning?content=68078&type=learning_material_item) page."
74+
"For you reference, please see more detail regarding RKD Authentication service in [TRKD Tutorial: Authentication](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd/thomson-reuters-knowledge-direct-api-trkd-api/learning?content=68078&type=learning_material_item) page."
7575
]
7676
},
7777
{
@@ -161,10 +161,10 @@
161161
"cell_type": "markdown",
162162
"metadata": {},
163163
"source": [
164-
"### TRKD Time-Series: Interday Service detail\n",
165-
"#### TRKD Service Token URL and Header\n",
164+
"### RKD Time-Series: Interday Service detail\n",
165+
"#### RKD Service Token URL and Header\n",
166166
"\n",
167-
"TRKD Time Series provides Interday data for developers via GetInterdayTimeSeries_5 operation. The endponint of GetInterdayTimeSeries_4 operaion is the following URL:\n",
167+
"RKD Time Series provides Interday data for developers via GetInterdayTimeSeries_5 operation. The endponint of GetInterdayTimeSeries_4 operaion is the following URL:\n",
168168
"[http://api.trkd.thomsonreuters.com/api/TimeSeries/TimeSeries.svc/REST/TimeSeries_1/GetInterdayTimeSeries_5](http://api.trkd.thomsonreuters.com/api/TimeSeries/TimeSeries.svc/REST/TimeSeries_1/GetInterdayTimeSeries_5)\n",
169169
"\n",
170170
"- Header: \n",
@@ -916,11 +916,11 @@
916916
"source": [
917917
"## References\n",
918918
"For further details, please check out the following resources:\n",
919-
"* [Thomson Reuters Knowledge Direct API page](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) on the [Refinitiv Developer Community](https://developers.refinitiv.com/) web site.\n",
920-
"* [Thomson Reuters Knowledge Direct API Catalog](https://www.trkd.thomsonreuters.com/SupportSite/RequestBuilder/requestbuilder.aspx) web site.\n",
921-
"* [TRKD Tutorial: Time-Series - Interday](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd/thomson-reuters-knowledge-direct-api-trkd-api/learning?content=68082&type=learning_material_item) page.\n",
919+
"* [Refinitiv Knowledge Direct API page](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) on the [Refinitiv Developer Community](https://developers.refinitiv.com/) web site.\n",
920+
"* [Refinitiv Knowledge Direct API Catalog](https://www.trkd.thomsonreuters.com/SupportSite/RequestBuilder/requestbuilder.aspx) web site.\n",
921+
"* [RKD Tutorial: Time-Series - Interday](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd/thomson-reuters-knowledge-direct-api-trkd-api/learning?content=68082&type=learning_material_item) page.\n",
922922
"\n",
923-
"For any question related to this tutorial or TRKD API, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/spaces/51/view.html)."
923+
"For any question related to this tutorial or RKD API, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/spaces/51/view.html)."
924924
]
925925
},
926926
{
@@ -947,7 +947,7 @@
947947
"name": "python",
948948
"nbconvert_exporter": "python",
949949
"pygments_lexer": "ipython3",
950-
"version": "3.7.3"
950+
"version": "3.7.6"
951951
}
952952
},
953953
"nbformat": 4,

notebook/trkd_timeseries_intraday.ipynb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# TRKD HTTP JSON with Python Example: Time-Series Interday\n",
7+
"# RKD HTTP JSON with Python Example: Time-Series Interday\n",
88
"\n",
99
"\n",
1010
"## Time-Series Intraday Introduction\n",
11-
"TRKD Time-Series Intraday requests let you retrieve a timeseries of intraday market prices on an instrument, summarised in periods from 1 minute to 1 hour (configurable). This is typically used in an intraday graph to show how the price has changed during a day. \n",
11+
"RKD Time-Series Intraday requests let you retrieve a timeseries of intraday market prices on an instrument, summarised in periods from 1 minute to 1 hour (configurable). This is typically used in an intraday graph to show how the price has changed during a day. \n",
1212
"\n",
1313
"For each period in the intraday timeseries, open price (the first tick in the period), close price (the last tick in the period), high price, low price and volume, Closing Yield value of the period, and Bid price and Ask price of the stock are returned. Intraday timeseries covering one day is returned.\n",
1414
"\n",
@@ -21,10 +21,10 @@
2121
"* Odd Lot Trades are not included in the OHLC and Volume Calculation and are not displayed in the Timeseries response if the parameter \"Pre and Post Market Trading Sessions\" is set in the request.\n",
2222
"\n",
2323
"\n",
24-
"### TRKD JSON application implementation process\n",
25-
"The JSON application requires the following steps to consume data from TRKD API services\n",
26-
"1. Authentication with TRKD Authentication service to get an authen token\n",
27-
"2. Send a request message with the required input information and authen token to the interested TRKD service"
24+
"### RKD JSON application implementation process\n",
25+
"The JSON application requires the following steps to consume data from RKD API services\n",
26+
"1. Authentication with RKD Authentication service to get an authen token\n",
27+
"2. Send a request message with the required input information and authen token to the interested RKD service"
2828
]
2929
},
3030
{
@@ -167,10 +167,10 @@
167167
"cell_type": "markdown",
168168
"metadata": {},
169169
"source": [
170-
"### TRKD Time-Series: Intraday Service detail\n",
171-
"#### TRKD Service Token URL and Header\n",
170+
"### RKD Time-Series: Intraday Service detail\n",
171+
"#### RKD Service Token URL and Header\n",
172172
"\n",
173-
"TRKD Time Series provides Intraday data for developers via GetIntradayTimeSeries_5 operation. The latest endponint of GetInterdayTimeSeries_5 operaion is the following URL:\n",
173+
"RKD Time Series provides Intraday data for developers via GetIntradayTimeSeries_5 operation. The latest endponint of GetInterdayTimeSeries_5 operaion is the following URL:\n",
174174
"[http://api.trkd.thomsonreuters.com/api/TimeSeries/TimeSeries.svc/REST/TimeSeries_1/GetIntradayTimeSeries_5](http://api.trkd.thomsonreuters.com/api/TimeSeries/TimeSeries.svc/REST/TimeSeries_1/GetIntradayTimeSeries_5)\n",
175175
"\n",
176176
"- Header: \n",
@@ -1581,11 +1581,11 @@
15811581
"source": [
15821582
"## References\n",
15831583
"For further details, please check out the following resources:\n",
1584-
"* [Thomson Reuters Knowledge Direct API page](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) on the [Refinitiv Developer Community](https://developers.refinitiv.com/) web site.\n",
1585-
"* [Thomson Reuters Knowledge Direct API Catalog](https://www.trkd.thomsonreuters.com/SupportSite/RequestBuilder/requestbuilder.aspx) web site.\n",
1584+
"* [Refinitiv Knowledge Direct API page](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd) on the [Refinitiv Developer Community](https://developers.refinitiv.com/) web site.\n",
1585+
"* [Refinitiv Knowledge Direct API Catalog](https://www.trkd.thomsonreuters.com/SupportSite/RequestBuilder/requestbuilder.aspx) web site.\n",
15861586
"* [TRKD Tutorial: Time-Series - Interday](https://developers.refinitiv.com/thomson-reuters-knowledge-direct-trkd/thomson-reuters-knowledge-direct-api-trkd-api/learning?content=68082&type=learning_material_item) page.\n",
15871587
"\n",
1588-
"For any question related to this tutorial or TRKD API, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/spaces/51/view.html)."
1588+
"For any question related to this tutorial or RKD API, please use the Developer Community [Q&A Forum](https://community.developers.refinitiv.com/spaces/51/view.html)."
15891589
]
15901590
},
15911591
{
@@ -1612,7 +1612,7 @@
16121612
"name": "python",
16131613
"nbconvert_exporter": "python",
16141614
"pygments_lexer": "ipython3",
1615-
"version": "3.7.3"
1615+
"version": "3.7.6"
16161616
}
16171617
},
16181618
"nbformat": 4,

0 commit comments

Comments
 (0)