Skip to content

Commit a3374e9

Browse files
committed
fixed doc links
1 parent 8d2ebc0 commit a3374e9

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

openfeed/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
from .openfeed_client import OpenfeedClient
1010

11-
VERSION = '1.1.1'
11+
VERSION = '1.1.2'

openfeed/openfeed_client.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def stop(self):
6262
def add_heartbeat_subscription(self, callback):
6363
"""Subscribe to [Heartbeat] messages (keep alive)
6464
65-
[Heartbeat]: https://openfeed-org.github.io/documentation/Message%20Specification/
65+
[Heartbeat]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.HeartBeat
6666
"""
6767
self.heartbeat_handlers.append(callback)
6868

@@ -82,8 +82,8 @@ def add_symbol_subscription(self, symbol: Union[str, list], callback, service="R
8282
subscription_type: list, optional
8383
Default is ['QUOTE']. Can contain any of: 'ALL', 'QUOTE', 'QUOTE_PARTICIPANT', 'DEPTH_PRICE', 'DEPTH_ORDER', 'TRADES', 'OHLC'
8484
85-
[Market Data]: https://openfeed-org.github.io/documentation/Message%20Specification/
86-
[SubscriptionTypes]: https://openfeed-org.github.io/documentation/Message%20Specification/
85+
[Market Data]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.MarketUpdate
86+
[SubscriptionTypes]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.SubscriptionType
8787
"""
8888
symbols = []
8989

@@ -110,7 +110,7 @@ def add_exchange_subscription(self, exchange: Union[str, list], callback, servic
110110
111111
Note: your credentials must have the correct service level (FEED) for this operation.
112112
113-
[Market Data]: https://openfeed-org.github.io/documentation/Message%20Specification/
113+
[Market Data]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.MarketUpdate
114114
"""
115115
exchanges = []
116116

@@ -168,7 +168,7 @@ def request_instruments(self, callback, symbol=None, market_id=None, exchange=No
168168
169169
See [Instrument Request]
170170
171-
[Instrument Definitions]: https://openfeed-org.github.io/documentation/Message%20Specification/#openfeed_instrumentproto
171+
[Instrument Definitions]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.InstrumentDefinition
172172
[Instrument Request]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.InstrumentRequest
173173
"""
174174

@@ -186,22 +186,22 @@ def request_instruments(self, callback, symbol=None, market_id=None, exchange=No
186186
def get_instrument_definitions(self):
187187
"""Returns a dict of Openfeed [Instrument Definitions] keyed by MarketID
188188
189-
[Instrument Definitions]: https://openfeed-org.github.io/documentation/Message%20Specification/
189+
[Instrument Definitions]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.InstrumentDefinition
190190
"""
191191
return self.instrument_definitions
192192

193193
def get_instrument_definition(self, id):
194194
"""Returns an [Instrument Definition] for a Market ID
195195
196-
[Instrument Definition]: https://openfeed-org.github.io/documentation/Message%20Specification/
196+
[Instrument Definition]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.InstrumentDefinition
197197
"""
198198
return self.instrument_definitions[id].instrumentDefinition
199199

200200
def get_instrument_definition_by_symbol(self, symbol):
201201
"""Returns an [Instrument Definition] for a [Symbol] string
202202
203-
[Instrument Definition]: https://openfeed-org.github.io/documentation/Message%20Specification/
204-
[Symbol]: https://openfeed-org.github.io/documentation/Message%20Specification/
203+
[Instrument Definition]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.InstrumentDefinition
204+
[Symbol]: https://openfeed-org.github.io/documentation/Message%20Specification/#org.openfeed.InstrumentDefinition.Symbol
205205
"""
206206
return self.instruments_by_symbol[symbol].instrumentDefinition
207207

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "openfeed"
3-
version = "1.1.1"
3+
version = "1.1.2"
44
description = "Python SDK for Openfeed"
55
authors = ["Barchart <[email protected]>"]
66
license = "MIT"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setup(
1919
name='openfeed',
20-
version='1.1.1',
20+
version='1.1.2',
2121
author='Barchart',
2222
author_email='[email protected]',
2323
license='MIT',

0 commit comments

Comments
 (0)