Skip to content

Commit 7f6d3a4

Browse files
committed
change numbering + naming
made space for streaming-cache example
1 parent 69e82da commit 7f6d3a4

File tree

4 files changed

+20
-17
lines changed

4 files changed

+20
-17
lines changed

2.Content/2.2-Pricing/2.2.01-Pricing-Snapshot.ipynb

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
{
6969
"data": {
7070
"text/plain": [
71-
"<refinitiv.data._data.core.session._platform_session.PlatformSession at 0x25ba5e96dc0>"
71+
"<refinitiv.data._data.core.session._platform_session.PlatformSession at 0x1f82f4dcc40>"
7272
]
7373
},
7474
"execution_count": 2,
@@ -172,7 +172,10 @@
172172
" fields=['BID', 'ASK']\n",
173173
").get_data()\n",
174174
"\n",
175-
"response.data.df"
175+
"if (response.is_success):\n",
176+
" response.data.df\n",
177+
"else:\n",
178+
" print(response.http_status)"
176179
]
177180
},
178181
{
@@ -363,7 +366,7 @@
363366
},
364367
{
365368
"cell_type": "code",
366-
"execution_count": 6,
369+
"execution_count": 3,
367370
"metadata": {},
368371
"outputs": [
369372
{
@@ -396,40 +399,40 @@
396399
" <tr>\n",
397400
" <th>0</th>\n",
398401
" <td>EUR=</td>\n",
399-
" <td>1.2129</td>\n",
400-
" <td>1.2133</td>\n",
402+
" <td>1.1884</td>\n",
403+
" <td>1.1888</td>\n",
401404
" </tr>\n",
402405
" <tr>\n",
403406
" <th>1</th>\n",
404407
" <td>GBP=</td>\n",
405-
" <td>1.4087</td>\n",
406-
" <td>1.4088</td>\n",
408+
" <td>1.3865</td>\n",
409+
" <td>1.3866</td>\n",
407410
" </tr>\n",
408411
" <tr>\n",
409412
" <th>2</th>\n",
410413
" <td>JPY=</td>\n",
411-
" <td>110.07</td>\n",
412-
" <td>110.08</td>\n",
414+
" <td>110.46</td>\n",
415+
" <td>110.5</td>\n",
413416
" </tr>\n",
414417
" <tr>\n",
415418
" <th>3</th>\n",
416419
" <td>CAD=</td>\n",
417-
" <td>1.2179</td>\n",
418-
" <td>1.218</td>\n",
420+
" <td>1.2384</td>\n",
421+
" <td>1.2385</td>\n",
419422
" </tr>\n",
420423
" </tbody>\n",
421424
"</table>\n",
422425
"</div>"
423426
],
424427
"text/plain": [
425428
" Instrument BID ASK\n",
426-
"0 EUR= 1.2129 1.2133\n",
427-
"1 GBP= 1.4087 1.4088\n",
428-
"2 JPY= 110.07 110.08\n",
429-
"3 CAD= 1.2179 1.218"
429+
"0 EUR= 1.1884 1.1888\n",
430+
"1 GBP= 1.3865 1.3866\n",
431+
"2 JPY= 110.46 110.5\n",
432+
"3 CAD= 1.2384 1.2385"
430433
]
431434
},
432-
"execution_count": 6,
435+
"execution_count": 3,
433436
"metadata": {},
434437
"output_type": "execute_result"
435438
}
@@ -500,7 +503,7 @@
500503
}
501504
],
502505
"source": [
503-
"eur = streaming['CAD=']\n",
506+
"eur = streaming['EUR=']\n",
504507
"eur['BID']"
505508
]
506509
},

2.Content/2.2-Pricing/2.2.02-Pricing-StreamingEvents.ipynb renamed to 2.Content/2.2-Pricing/2.2.03-Pricing-StreamingEvents.ipynb

File renamed without changes.
File renamed without changes.

2.Content/2.2-Pricing/2.2.04-Pricing-StreamingChain.ipynb renamed to 2.Content/2.2-Pricing/2.2.05-Pricing-StreamingChain.ipynb

File renamed without changes.

0 commit comments

Comments
 (0)