@@ -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
0 commit comments