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
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,37 +84,37 @@ The first step is to unzip or download the example project folder into a directo
84
84
85
85
### <aid="how_to_setup"></a>Set Up Environment
86
86
87
-
It is an advisable to create a dedicate Python environment to run each Python project. You can create a new Conda environment names *MRN_WEBSOCKET* with the following steps
87
+
It is an advisable to create a dedicate Python environment to run each Python project. You can create a new Conda environment names *MRN_RTO* with the following steps
88
88
89
89
1. Open Anaconda Prompt and go to the project's folder
90
-
2. Run the following command in an Anaconda Prompt to create a Conda environment named *MRN_WEBSOCKET* for the project.
90
+
2. Run the following command in an Anaconda Prompt to create a Conda environment named *MRN_RTO* for the project.
3. Once the environment is created, activate MRN_WEBSOCKET environment with this command in Anaconda Prompt
94
+
3. Once the environment is created, activate MRN_RTO environment with this command in Anaconda Prompt
95
95
```
96
-
(base) $>conda activate MRN_WEBSOCKET
96
+
(base) $>conda activate MRN_RTO
97
97
```
98
-
4. Run the following command to install the dependencies in the *MRN_WEBSOCKET* environment
98
+
4. Run the following command to install the dependencies in the *MRN_RTO* environment
99
99
```
100
-
(MRN_WEBSOCKET) $>pip install -r requirements.txt
100
+
(MRN_RTO) $>pip install -r requirements.txt
101
101
```
102
102
### <aid="rtds_jupyter"></a>RTDS Jupyter Notebook example
103
103
104
104
Please be informed that your Refinitiv Real-Time Advanced Data Hub and Refinitiv Real-Time Advanced Distribution Server should have a Service that contains MRN data. The Python [Anaconda](https://www.anaconda.com/distribution/) or [MiniConda](https://docs.conda.io/en/latest/miniconda.html) distribution/package manager is highly recommended for running the JupyterLab example.
105
105
106
106
1. Open Anaconda Prompt and go to the project's folder
107
-
2. Activate MRN_WEBSOCKET environment with this command in Anaconda Prompt
107
+
2. Activate MRN_RTO environment with this command in Anaconda Prompt
108
108
```
109
-
(base) $>conda activate MRN_WEBSOCKET
109
+
(base) $>conda activate MRN_RTO
110
110
```
111
-
3. Run the following command to install the JupyterLab application and pandas in the *MRN_WEBSOCKET* environment
111
+
3. Run the following command to install the JupyterLab application and pandas in the *MRN_RTO* environment
4. In the current Anaconda Prompt, go to the project's notebook folder. Run the following command to start the JupyterLab application in the notebook folder.
116
116
```
117
-
(MRN_WEBSOCKET) $>jupyter lab
117
+
(MRN_RTO) $>jupyter lab
118
118
```
119
119
5. Open *mrn_notebook_app.ipynb* Notebook document, then follow through each notebook cell.
120
120
@@ -123,13 +123,13 @@ Please be informed that your Refinitiv Real-Time Advanced Data Hub and Refinitiv
123
123
Please be informed that your Refinitiv Real-Time Advanced Data Hub and Refinitiv Real-Time Advanced Distribution Server should have a Service that contains MRN data.
124
124
125
125
1. Open Anaconda Prompt and go to the project's folder
126
-
2. Activate MRN_WEBSOCKET environment with this command in Anaconda Prompt
126
+
2. Activate MRN_RTO environment with this command in Anaconda Prompt
127
127
```
128
-
(base) $>conda activate MRN_WEBSOCKET
128
+
(base) $>conda activate MRN_RTO
129
129
```
130
130
3. Then you can run mrn_console_app.py application with the following command
131
131
```
132
-
(MRN_WEBSOCKET) $> python mrn_console_app.py --hostname <Real-Time Advanced Distribution Server IP Address/Hostname> --port <WebSocket Port>
132
+
(MRN_RTO) $> python mrn_console_app.py --hostname <Real-Time Advanced Distribution Server IP Address/Hostname> --port <WebSocket Port>
133
133
```
134
134
4. The application subscribes to ```MRN_STORNY``` RIC code from Real-Time Advanced Distribution Server by default. You can pass your interested MRN RIC code to ```--ric``` parameter on the application command line. The supported MRN RIC codes are ```MRN_STORY```, ```MRN_TRNA```, ```MRN_TRNA_DOC``` and ```MRN_TRSI``` only.
0 commit comments