Skip to content

Commit dd2b3ab

Browse files
committed
Added Comments, changed titles to RD from RDP
1 parent 3240161 commit dd2b3ab

File tree

9 files changed

+4272
-182
lines changed

9 files changed

+4272
-182
lines changed

1. Quick Start/1.0 - Sessions.ipynb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"id": "78f0fd7b",
66
"metadata": {},
77
"source": [
8-
"# Refinitiv Data Platform Library for Python\n",
8+
"# Refinitiv Data Library for Python\n",
99
"## Define and Open a session\n",
1010
"\n",
1111
"Depending on the Credentials and Refinitiv Products/Services you have access to, you need define & open either a PlatformSession or DesktopSession: \n",
@@ -165,14 +165,14 @@
165165
"metadata": {},
166166
"outputs": [
167167
{
168-
"output_type": "execute_result",
169168
"data": {
170169
"text/plain": [
171170
"<State.Open: 3>"
172171
]
173172
},
173+
"execution_count": 3,
174174
"metadata": {},
175-
"execution_count": 3
175+
"output_type": "execute_result"
176176
}
177177
],
178178
"source": [
@@ -274,8 +274,9 @@
274274
],
275275
"metadata": {
276276
"kernelspec": {
277-
"name": "rd39",
278-
"display_name": "Python 3.9.4 64-bit ('rd39': conda)"
277+
"display_name": "RevData39",
278+
"language": "python",
279+
"name": "rd39"
279280
},
280281
"language_info": {
281282
"codemirror_mode": {
@@ -292,4 +293,4 @@
292293
},
293294
"nbformat": 4,
294295
"nbformat_minor": 5
295-
}
296+
}

2.Content/2.1-HistoricalPricing/2.1.01-HistoricalPricing.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Refinitiv Data Platform Library for Python\n",
7+
"# Refinitiv Data Library for Python\n",
88
"## Content - Historical Pricing - Synchronous calls"
99
]
1010
},

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Refinitiv Data Platform Library for Python\n",
7+
"# Refinitiv Data Library for Python\n",
88
"## Content - Pricing - Synchronous calls\n",
99
"\n",
1010
"This notebook demonstrates how to use the Pricing interface to retrieve data from the Refinitiv Data Platform."
@@ -435,13 +435,14 @@
435435
}
436436
],
437437
"source": [
438+
"# If you want snap just the current prices, don't need updates\n",
438439
"non_streaming = rd.content.pricing.Definition(\n",
439440
" ['EUR=', 'GBP=', 'JPY=', 'CAD='],\n",
440441
" fields=['BID', 'ASK']\n",
441442
").get_stream()\n",
442443
"# Open the instrument in non-streaming mode\n",
443444
"non_streaming.open(with_updates=False)\n",
444-
"# Snapshot the price\n",
445+
"# Snapshot the prices at the time of the open() call\n",
445446
"non_streaming.get_snapshot()"
446447
]
447448
},

2.Content/2.2-Pricing/2.2.02-Pricing-StreamingEvents.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Refinitiv Data Platform Library for Python\n",
7+
"# Refinitiv Data Library for Python\n",
88
"## Content - Pricing - Streaming\n",
99
"\n",
1010
"This notebook demonstrates how a Price object to receive streaming real-time data. "

2.Content/2.2-Pricing/2.2.03-Pricing-Chain.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Refinitiv Data Platform Library for Python\n",
7+
"# Refinitiv Data Library for Python\n",
88
"## Content - Pricing - Chain constituents\n",
99
"\n",
1010
"This notebook demonstrates how to use the Pricing interface to retrieve the consituents of a Chain instrument :\n",
@@ -87,6 +87,7 @@
8787
"metadata": {},
8888
"outputs": [],
8989
"source": [
90+
"# define a chain to fetch FTSE constituent RICs\n",
9091
"ftse = pricing.chain.Definition(universe=\"0#.FTSE\").get_stream()"
9192
]
9293
},
@@ -450,6 +451,7 @@
450451
}
451452
],
452453
"source": [
454+
"# Chains often have Summary RICs for the chain\n",
453455
"summary_links = ftse.summary_links\n",
454456
"print(f\"summary links of the chain are : {summary_links}\")"
455457
]
@@ -458,7 +460,7 @@
458460
"cell_type": "markdown",
459461
"metadata": {},
460462
"source": [
461-
"### Close the StreamingChains"
463+
"### Close the Streaming Chain instrument"
462464
]
463465
},
464466
{

2.Content/2.2-Pricing/2.2.04-Pricing-StreamingChain.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Refinitiv Data Platform Library for Python\n",
7+
"# Refinitiv Data Library for Python\n",
88
"## Content - Pricing - Chain + Streaming Constituents\n",
99
"\n",
1010
"This notebook demonstrates how to use the Pricing interface to \n",
@@ -100,6 +100,7 @@
100100
"source": [
101101
"df = DataFrame()\n",
102102
"\n",
103+
"# Function to initially populate Dataframe, once initial values received for all items\n",
103104
"def create_dataframe(streaming_prices):\n",
104105
" global df\n",
105106
" snapshot = streaming_prices.get_snapshot()\n",
@@ -111,7 +112,7 @@
111112
" df.at[price.name, field_name] = field_value\n",
112113
" display(df)\n",
113114
"\n",
114-
"\n",
115+
"# Function to update dataframe, when we receive updates for individual items\n",
115116
"def update_dataframe(streaming_prices, instrument_name, fields):\n",
116117
" global df\n",
117118
" clear_output(wait=True)\n",

2.Content/2.5-Symbology/2.5.01-Symbology-Convert.ipynb

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"id": "84834efe",
66
"metadata": {},
77
"source": [
8-
"# **Refinitiv Data Platform Library for Python**\n",
9-
"## **Content - Symbol Conversion - Synchronous calls**\n",
10-
"This notebook demonstrates how to synchronously use Symbol Conversion.\n",
8+
"# Refinitiv Data Library for Python\n",
9+
"## Content - Symbol Conversion\n",
10+
"This notebook demonstrates how to retrieve Historical Pricing data from the Refinitiv Data Platform OR via Eikon or Refinitiv Workspace. \n",
1111
"\n",
1212
"#### **Available Symbol Types stored in rd.SymbolTypes enum**\n",
1313
"- rd.content.symbol_conversion.RIC => RIC\n",
@@ -16,16 +16,7 @@
1616
"- rd.content.symbol_conversion.SEDOL => SEDOL\n",
1717
"- rd.content.symbol_conversion.TICKER_SYMBOL => TickerSymbol\n",
1818
"- rd.content.symbol_conversion.OA_PERM_ID => IssuerOAPermID\n",
19-
"- rd.content.symbol_conversion.LIPPER_ID => FundClassLipperID\n",
20-
"\n",
21-
"#### Learn more\n",
22-
"\n",
23-
"To learn more about the Refinitiv Data Platform Data Libraries just connect to the Refinitiv Developer Community. By [registering](https://developers.refinitiv.com/iam/register) and [login](https://developers.refinitiv.com/iam/login) to the Refinitiv Developer Community portal you will get free access to a number of learning materials like [Quick Start guides](https://developers.refinitiv.com/refinitiv-data-platform/refinitiv-data-platform-libraries/quick-start), [Tutorials](https://developers.refinitiv.com/refinitiv-data-platform/refinitiv-data-platform-libraries/learning), [Documentation](https://developers.refinitiv.com/refinitiv-data-platform/refinitiv-data-platform-libraries/docs) and much more. \n",
24-
"\n",
25-
"#### Getting Help and Support\n",
26-
"\n",
27-
"If you have any questions regarding the API usage, please post them on the [Refinitiv Data Platform Q&A Forum](https://community.developers.thomsonreuters.com/spaces/231/index.html). The Refinitiv Developer Community will be very pleased to help you. \n",
28-
"\n"
19+
"- rd.content.symbol_conversion.LIPPER_ID => FundClassLipperID"
2920
]
3021
},
3122
{
@@ -52,17 +43,18 @@
5243
},
5344
{
5445
"cell_type": "markdown",
55-
"id": "47fd9240",
46+
"id": "63ed65c7-5a3e-4f8a-9e67-d869a756dab4",
5647
"metadata": {},
5748
"source": [
5849
"## Open the session of your choice\n",
5950
"\n",
60-
"Call **open_session(session_type)** to create and open a session to connect to the Refinitiv Data Platform directly (session_type=\"platform\") or via Eikon 4 or Refinitiv Workspace (session_type=\"desktop\") or via a local realtime infrastructure (session_type=\"deployed\").\n",
51+
"Use our helper function in the Credentials notebook, **open_session(session_type)**, to create and open a session to connect to the \n",
52+
"- Refinitiv Data Platform directly (session_type=\"rdp\") or via \n",
53+
"- Eikon 4 or Refinitiv Workspace (session_type=\"desktop\") \n",
54+
"\n",
55+
"You can also set a default in the **credentials** notebook\n",
6156
"\n",
62-
"session_type can be:\n",
63-
"- \"desktop\" (Default value)\n",
64-
"- \"platform\"\n",
65-
"- \"deployed\""
57+
"**Note**: You cannot currently perform Symbology Conversion using a Deployed session"
6658
]
6759
},
6860
{

3.Delivery/3.1-Streaming/3.1.01-OMMItemStream-MarketPrice.ipynb

Lines changed: 83 additions & 79 deletions
Large diffs are not rendered by default.

3.Delivery/3.1-Streaming/3.1.02-OMMItemStream-MarketByPrice.ipynb

Lines changed: 4159 additions & 70 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)