Skip to content

Commit 65089da

Browse files
author
Ivan Mishalkin
committed
[EN-1335] notebook edited
1 parent 315fcd9 commit 65089da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/CustomListenerExample.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@
191191
"outputs": [],
192192
"source": [
193193
"con = dx.dxf_create_connection()\n",
194-
"sub = dx.dxf_create_subscription(con, 'Trade')\n",
195-
"dx.dxf_add_symbols(sub, ['AAPL', 'MSFT'])"
194+
"sub = dx.dxf_create_subscription(con, 'Trade')"
196195
]
197196
},
198197
{
@@ -208,7 +207,8 @@
208207
"metadata": {},
209208
"outputs": [],
210209
"source": [
211-
"dx.dxf_attach_custom_listener(sub, cust.tc, ['Symbol', 'Price'])"
210+
"dx.dxf_attach_custom_listener(sub, cust.tc, ['Symbol', 'Price'])\n",
211+
"dx.dxf_add_symbols(sub, ['AAPL', 'MSFT'])"
212212
]
213213
},
214214
{

0 commit comments

Comments
 (0)