Skip to content

Releases: Brendan-Blanchard/kraken-async-rs

v0.0.2

05 May 18:36
Compare
Choose a tag to compare

Using rust_decimal::Decimal instead of Strings where applicable. Bug fixes, cleanup, more enum usage, and other changes
from using downstream and finding what drove poor patterns, etc.

  • Decimal conversions instead of String (settled on this due to abundance/annoyance of Decimal::try_from(&someString)?
  • Made KrakenClient.set_user_agent async (not required but allows Tokio mutex proxying downstream)
  • Changed vol and vol_exec to volume and volume_executed in all places
  • Added String data to several variants of ClientError where additional information is helpful downstream
  • Added From<...> impls for StringCSV, OrderFlags, and IntOrString
    • These reduce things like StringCSV::new(vec!["someTxId".to_string()]) to "someTxId".into()
  • Added example of querying an order to /examples
  • Updated dependencies, including h2 for a security advisory, though it doesn't affect how it's used here
  • Add err(Debug) tracing to all CoreKrakenClient methods
  • Add ret tracing to any small responses and all trading endpoints in CoreKrakenClient
  • Add Clone to WSS un/subscribe message types
  • Add Debug, Clone, Copy to KrakenWSSClient
  • Add pub to additional fields on structs in private and public WSS messages
  • Change OpenOrder WSS type to use OrderStatus enum
  • Used TriggerType enum in additional places

v0.0.1

19 Mar 21:15
Compare
Choose a tag to compare

Initial version with complete API (excluding NFTs)