Skip to content

Commit 0e5400f

Browse files
Merge pull request #92 from InjectiveLabs/f/Orderbooks_fix
Fixes in the client & update changelogs
2 parents d61a8f0 + 17a9e78 commit 0e5400f

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ python pyinjective/fetch_metadata.py
8181
**0.5.6.5**
8282
* Add MsgRelayPriceFeedPrice in the composer
8383
* Add Post-only orders in the composer
84+
* Add OrderbooksRequest in the clients
85+
* Add support for multiple markets in StreamTrades and StreamPosition
86+
* Add support for multiple subaccounts in StreamTrades and StreamPosition
87+
8488

8589
**0.5.6.4**
8690
* Add K8S endpoint on testnet as default

pyinjective/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def get_spot_orderbook(self, market_id: str):
394394

395395
def get_spot_orderbooks(self, market_ids: List):
396396
req = spot_exchange_rpc_pb.OrderbooksRequest(market_ids=market_ids)
397-
return self.stubSpotExchange.Order(req)
397+
return self.stubSpotExchange.Orderbooks(req)
398398

399399
def get_spot_orders(self, market_id: str, **kwargs):
400400
req = spot_exchange_rpc_pb.OrdersRequest(

0 commit comments

Comments
 (0)