Skip to content

Commit 82f5a89

Browse files
Merge pull request #140 from InjectiveLabs/f/release_v0.5.7.7
chore: add start_time and end_time
2 parents 1f1b58d + 5c0ce47 commit 82f5a89

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ Note that the [sync client](https://github.com/InjectiveLabs/sdk-python/blob/mas
7878

7979

8080
### Changelogs
81+
**0.5.7.7**
82+
* Add start_time and end_time in TradesRequest
83+
8184
**0.5.7.6**
8285
* Add OrdersHistory
8386
* Add SendToInjective

pyinjective/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,8 @@ async def get_spot_trades(self, **kwargs):
614614
subaccount_ids=kwargs.get("subaccount_ids"),
615615
skip=kwargs.get("skip"),
616616
limit=kwargs.get("limit"),
617+
start_time=kwargs.get("start_time"),
618+
end_time=kwargs.get("end_time")
617619
)
618620
return await self.stubSpotExchange.Trades(req)
619621

@@ -729,6 +731,8 @@ async def get_derivative_trades(self, **kwargs):
729731
direction=kwargs.get("direction"),
730732
skip=kwargs.get("skip"),
731733
limit=kwargs.get("limit"),
734+
start_time=kwargs.get("start_time"),
735+
end_time=kwargs.get("end_time")
732736
)
733737
return await self.stubDerivativeExchange.Trades(req)
734738

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
EMAIL = "achilleas@injectivelabs.com"
1818
AUTHOR = "Injective Labs"
1919
REQUIRES_PYTHON = ">=3.7.0"
20-
VERSION = "0.5.7.6"
20+
VERSION = "0.5.7.7"
2121

2222
REQUIRED = [
2323
"grpcio",

0 commit comments

Comments
 (0)