Skip to content

Releases: frequenz-floss/frequenz-client-electricity-trading-python

v0.6.0

05 Mar 14:43
v0.6.0
e75c90b

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

Upgrading

  • Rename CLI trade and order functions for clarity
    • Rename receive_trades to receive_public_trades
    • Rename receive_orders to receive_gridpool_orders
  • The stream_* methods in the client have been renamed to *_stream. They no longer return Receiver instances, but rather GrpcStreamBroadcaster instances. They expose a new_receiver() method which can be used to get a new receiver. They also expose a stop() method which can be used to stop the background streaming task when the stream is no longer needed.

New Features

  • Print tags and filled (instead of open) quantity for gridpool orders in CLI tool.

Bug Fixes

What's Changed

Full Changelog: v0.5.1...v0.6.0

v0.5.1

19 Feb 14:58
v0.5.1
360358c

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

Upgrading

New Features

  • Add helper function to support creating quantities that conform to the API expectations.
  • Add receive-gridpool-trades command to CLI tool.
  • Add the warn_on_overflow option to the streaming receivers to allow ignoring overflow warnings
  • Add the max_size option to the streaming receivers

Bug Fixes

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

04 Feb 13:55
v0.5.0
cace663

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

Upgrading

New Features

  • Use decorator for from_pb methods to ensure an error message with protobuf data is logged in case there are conversion problems.

Bug Fixes

  • Deal correctly with cancelled orders with no price or quantity

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.3.1

12 Dec 16:12
v0.3.1
9e6d723

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

Upgrading

New Features

  • Extra validation check to ensure the quantity is strictly positive.
  • Extra validation check to ensure the quantity and price are within the allowed bounds.
  • Add more edge cases to the integration tests.
  • Add idiomatic string representations for Power and Price classes.
  • Add support for timeouts in the gRPC function calls
  • Export Client constants for external use
  • Fetch subsequent paginated data for list_* methods

Bug Fixes

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

13 Nov 15:29
v0.3.0
0e6198d

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

Upgrading

  • Update base client from version 0.6.1 to 0.7.0 and upgrade the Client constructor accordingly.

New Features

  • Add str function for DeliveryPeriod object
  • Add integration tests for the API
  • Add an equality function to the Order type

Bug Fixes

What's Changed

Full Changelog: v0.2.5...v0.3.0

v0.2.5

09 Oct 16:33
v0.2.5
c2de8e5

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

Upgrading

New Features

  • Replace assert statements with proper exception handling
  • Implement client instance reuse to avoid redundant TCP connections
  • Move documentation and code examples to the documentation website
  • Replace the local PaginationParams type with the frequenz-client-common one
  • Remove dependency to googleapis-common-protos
  • Replace Energy with Power for the quantity representation

Bug Fixes

What's Changed

Full Changelog: v0.2.4...v0.2.5

v0.2.4

23 Sep 10:19
v0.2.4
49ef8d8

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

Upgrading

New Features

  • Add input validation checks for price, quantity, delivery_period, valid_until, execution_option and order_type.
  • Add unit tests for requests with invalid input parameters.
  • Updated dependencies to latest versions

Bug Fixes

  • Fix variable name max_nr_orders to max_nr_trades for trades requests

What's Changed

New Contributors

Full Changelog: v0.2.3...v0.2.4

v0.2.3

23 Aug 14:27
v0.2.3
4df3ee2

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Bug Fixes

  • Fixed list gridpool orders to log an error when an order conversion from protobuf failed and continuing to process other orders.

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

22 Aug 08:29
v0.2.2
1217841

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

Upgrading

  • Refactor order states following frequenz-api-electricity-trading update to :

    • Remove obsolete order states CANCEL_REQUESTED and CANCEL_REJECTED
  • The minimum required version of frequenz-client-base is now 0.3

  • The minimum required version of frequenz-channels is now 1.0

New Features

  • Restrict the decimal points of the quantity and price values

  • Integrate the BaseApiClient v0.5 into the client

  • Add key based authorization to the client

Bug Fixes

  • Handle missing protobuf fields in Filter classes

What's Changed

Full Changelog: v0.2.1...v0.2.2

v0.1.0

18 Apr 15:50
v0.1.0
ffe3344

Choose a tag to compare

Frequenz Electricity Trading API Client Release Notes

Summary

This is the first release of the Frequenz Electricity Trading API Client for Python on this repo. The code was imported from frequenz-api-electricity-trading v0.1.3, and some minor changes were made to adapt it to the updated dependencies.

What's Changed

New Contributors

Full Changelog: https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/commits/v0.1.0