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
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# WebSocket API Machine Readable News Example with Python
2
-
- Last update: May 2021
2
+
- Last update: September 2021
3
3
- Environment: Windows and Linux OS
4
4
- Compiler: Python
5
5
- Prerequisite: Refinitiv Real-Time Advanced Data Hub and Refinitiv Real-Time Advanced Distribution servers version 3.2.1 and above, MRN service
@@ -59,7 +59,7 @@ This example requires the following dependencies software and libraries.
59
59
6.[Docker Engine - Community Edition](https://docs.docker.com/install/) (for running a console example in Docker only)
60
60
61
61
*Note:*
62
-
- The Python example has been qualified with Python versions 3.6.5 and Python 3.7.4 (Docker 19.03.1 - CentOS 7)
62
+
- The Python example has been qualified with Python versions 3.6.5, Python 3.7.4 and Python 3.8.x (Docker 19.03.1 - CentOS 7)
63
63
- Please refer to the [pip installation guide page](https://pip.pypa.io/en/stable/installing/) if your environment does not have the [pip tool](https://pypi.org/project/pip/) installed.
64
64
- If your environment already have a websocket-client library installed, you can use ```pip list``` command to verify a library version, then use ```pip install --upgrade websocket-client``` command to upgrade websocket-client library.
65
65
- It is not advisable to change the Refinitiv Real-Time Distribution System configuration if you are not familiar with the configuration procedures. Please consult your Market Data administrator for any questions regarding Refinitiv Real-Time Distribution System-MRN service configuration.
@@ -95,9 +95,10 @@ Optionally, the application subscribes ```MRN_STORY``` RIC code from Real-Time A
95
95
```
96
96
3. Once the build is a success, you can create and run the container with the following command
97
97
```
98
-
$> docker run rtsdk_ws_mrn_python --hostname Real-Time Advanced Distribution Server IP Address/Hostname> --port <WebSocket Port> --ric <MRN RIC name>
98
+
$> docker run --name mrn_console -it rtsdk_ws_mrn_python --hostname Real-Time Advanced Distribution Server IP Address/Hostname> --port <WebSocket Port> --ric <MRN RIC name>
99
99
```
100
100
4. If you want to connect the Docker container to a localhost, please use ```host.docker.internal``` as the Host name.
101
+
5. Press Ctrl+C buttons to stop the application
101
102
102
103
### Classic Jupyter Notebook example
103
104
@@ -106,7 +107,7 @@ Please be informed that Python [Anaconda](https://www.anaconda.com/distribution
106
107
1. Open Anaconda Prompt and go to the project's folder
107
108
2. Run the following command in an Anaconda Prompt to create a Conda environment named *mrn_python_notebook* for the project.
0 commit comments