You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* **Tag filtering for gridpool trades**: The `gridpool_trades()` method
now accepts a `tag` parameter to filter trades by tag. The
`GridpoolTradeFilter` dataclass has been updated accordingly.
* **Flexible time filtering with `DeliveryTimeFilter`**: Replaced the
restrictive `delivery_period` parameter with a more flexible
`delivery_time_filter` across gridpool orders and trades methods. The
new `DeliveryTimeFilter` supports:
- Time interval filtering with optional start/end times
- Multiple delivery duration filters
- More granular control over time-based queries
* **New types for time filtering**: Added `Interval` and
`DeliveryTimeFilter` types to support the enhanced filtering API.
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,28 @@
2
2
3
3
## Summary
4
4
5
-
<!-- Here goes a general summary of what this release is about -->
5
+
This release adds enhanced filtering capabilities for gridpool orders and trades, with support for tag-based filtering and more flexible time-based queries.
6
6
7
-
## Upgrading
7
+
## New Features
8
8
9
-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
9
+
***Tag filtering for gridpool trades**: The `gridpool_trades()` method now accepts a `tag` parameter to filter trades by tag. The `GridpoolTradeFilter` dataclass has been updated accordingly.
10
10
11
-
## New Features
11
+
***Flexible time filtering with `DeliveryTimeFilter`**: Replaced the restrictive `delivery_period` parameter with a more flexible `delivery_time_filter` across gridpool orders and trades methods. The new `DeliveryTimeFilter` supports:
12
+
- Time interval filtering with optional start/end times
13
+
- Multiple delivery duration filters
14
+
- More granular control over time-based queries
15
+
16
+
***New types for time filtering**: Added `Interval` and `DeliveryTimeFilter` types to support the enhanced filtering API.
12
17
13
18
* Support tags in CLI create-order command.
14
19
15
-
## Bug Fixes
20
+
## Breaking Changes
21
+
22
+
* The `delivery_period` parameter has been replaced with `delivery_time_filter` in the following methods:
23
+
-`list_gridpool_orders()`
24
+
-`stream_gridpool_orders()`
25
+
-`gridpool_trades()`
26
+
27
+
Note: The `create_gridpool_order()` method maintains backward compatibility by keeping both parameters.
16
28
17
-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
29
+
* Updated API imports from v1 to v1alpha8 for common types.
0 commit comments