Skip to content

Commit

Permalink
Merge pull request #343 from InjectiveLabs/fix/solve_stream_derivativ…
Browse files Browse the repository at this point in the history
…e_market_issue

fix/solve_stream_derivative_market_issue
  • Loading branch information
aarmoa authored Aug 7, 2024
2 parents e68db6f + bf8b47d commit b57aba9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [1.6.2]
### Fixed
- Fixed issue in the `listen_derivative_market_updates` method in the `AsyncClient` class

## [1.6.1] - 2024-08-07
### Added
- Added support for the following messages in the chain "exchange" module:
Expand Down
2 changes: 1 addition & 1 deletion pyinjective/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2336,7 +2336,7 @@ async def listen_derivative_market_updates(
on_status_callback: Optional[Callable] = None,
market_ids: Optional[List[str]] = None,
):
await self.exchange_derivative_stream_api.stream_markets(
await self.exchange_derivative_stream_api.stream_market(
callback=callback,
on_end_callback=on_end_callback,
on_status_callback=on_status_callback,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "injective-py"
version = "1.6.1"
version = "1.6.2"
description = "Injective Python SDK, with Exchange API Client"
authors = ["Injective Labs <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit b57aba9

Please sign in to comment.