Skip to content

Commit 551d491

Browse files
author
Ivan Mishalkin
committed
[EN-1335] readme edited
1 parent 114c1b7 commit 551d491

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ sub2 = dx.dxf_create_subscription(con, 'Quote')
4141
'Trade', 'Quote', 'Summary', 'Profile', 'Order', 'TimeAndSale', 'Candle', 'TradeETH', 'SpreadOrder',
4242
'Greeks', 'TheoPrice', 'Underlying', 'Series', 'Configuration' event types are supported.
4343

44-
**Add tickers you want to get data for**:
45-
```python
46-
dx.dxf_add_symbols(sub1, ['AAPL', 'MSFT'])
47-
dx.dxf_add_symbols(sub2, ['AAPL', 'C'])
48-
```
49-
5044
**Attach listeners**:
5145
```python
5246
dx.dxf_attach_listener(sub1)
5347
dx.dxf_attach_listener(sub2)
5448
```
5549

50+
**Add tickers you want to get data for**:
51+
```python
52+
dx.dxf_add_symbols(sub1, ['AAPL', 'MSFT'])
53+
dx.dxf_add_symbols(sub2, ['AAPL', 'C'])
54+
```
55+
5656
`dxfeed` has default listeners for each event type, but you are able to write
5757
your custom one. You can find how to do it at `example/Custom listener example.ipynb`.
5858

0 commit comments

Comments
 (0)