Skip to content

Releases: GaloyMoney/stablesats-rs

v0.1.11 Release

21 Aug 06:26
Compare
Choose a tag to compare

Bug Fixes

  • Configure position mode and side in client constructor

Miscellaneous Tasks

  • Move shared/currency to price-server
  • Remove more unused
  • More unused
  • Remove unused
  • Derive Eq alongside PartialEq

Refactor

  • Replace type casting with explicit type conversion

Testing

  • Verify rounding of tiny amounts

v0.1.10 Release

20 Aug 01:14
Compare
Choose a tag to compare

Bug Fixes

  • Fee-calculator test
  • Fmt
  • When to increase / decrease price calc
  • Fee-calculation is direction dependent
  • Run position tests if environment variables are loaded
  • Open a position to close
  • Allow clippy issues in generated proto code
  • Remove accidentally committed notes
  • Use Decimal in deserialization and optionally run tests
  • Use cach_bal in available_balance
  • Fix flagged typo on 'controling'
  • Fetch onchain btc address from environment variables
  • Clippy update

Features

  • Close all positions of an instrument
  • Open and get position on "btc-usd-swap" instrument
  • Deposit status, floating point, & btc address
  • Place order and get positions
  • Withdraw to onchain BTC address
  • Fetch available trading account balance
  • State of transfer from funding to trading account
  • Fetch available balance of funding account
  • Transfer from trading to funding account

Miscellaneous Tasks

  • Create Decimal values with dec!()
  • Use rate-limit in deposit-history
  • Add rate-limit to okex-client
  • Bump anyhow from 1.0.61 to 1.0.62
  • Merge branch 'main' into feat-okex-client-library

Refactor

  • Extract client/primitives
  • Hardcode demo client api keys
  • Change config simulated property to bool
  • Implement Display for enums
  • Remove superfluous enum implementations
  • Enumerate order side
  • Enumerate position side
  • Enumerate margin mode
  • Enumerate instrument id and rate limit api calls
  • Deduplicate client test
  • Extract get/post header creation
  • Extract 'withdraw to btc onchain address' response data
  • Extract 'transfer state' response data
  • Extract 'trading account balance' response data
  • Extract 'funding account balance' response data
  • Extract 'trading-to-funding' response data
  • Use generics

v0.1.9 Release

15 Aug 21:06
Compare
Choose a tag to compare

Bug Fixes

  • Fees config test
  • Fee defaults
  • Buy/sell naming has BTC as base currency

Documentation

  • Stablesats.yml contains tracing key

Miscellaneous Tasks

  • Bump clap from 3.2.16 to 3.2.17
  • Bump futures from 0.3.21 to 0.3.23
  • Bump serde_yaml from 0.9.4 to 0.9.9
  • Bump chrono from 0.4.21 to 0.4.22
  • Output when cli cannot connect to price server

Refactor

  • Add extract_response_data fn - simplify types

v0.1.8 Release

13 Aug 19:37
Compare
Choose a tag to compare

Bug Fixes

  • Price calculation use cases
  • Allow for 30 seconds price latency

Features

  • Tracing for e2e galoy demo
  • Add fund transfer function to OkexClient
  • OkexClient.get_deposit_address

Miscellaneous Tasks

  • Bump anyhow from 1.0.60 to 1.0.61
  • Bump chrono from 0.4.20 to 0.4.21
  • Url arg is not an arg_enum

Refactor

  • Introduce CurrencyConverter
  • Rename transfer => transfer_funder_to_trading
  • Move sign_okex_request into headers hepler
  • Extract common header creation
  • Extract signing function
  • Extract OKEX_API_URL

v0.1.7 Release

09 Aug 13:17
Compare
Choose a tag to compare

Bug Fixes

  • Undo fix in change log
  • Path in Dockerfile
  • Move fee calculation to domain object
  • Remove conversion struct
  • Typo in change log md
  • Copy from debug folder in Dockerfile

Miscellaneous Tasks

  • Optionaly pass price-server-url
  • Do not load fee config from env
  • Add price fee calculator
  • Refactor ExchangePriceCache and unit test conversion method from u64 to f64
  • Bump serde from 1.0.142 to 1.0.143
  • Bump rust_decimal from 1.26.0 to 1.26.1
  • Bump anyhow from 1.0.59 to 1.0.60
  • Move TARGET_x var to osxcross-compile.sh
  • Build dev version in regular Dockerfile

Testing

  • Add mid price fn to ExchangePriceCacheInner

v0.1.6 Release

07 Aug 21:40
Compare
Choose a tag to compare

Bug Fixes

  • Default wrapper config to true
  • Use rustls-tls-webpki-roots for wss
  • Price_app asserts

Miscellaneous Tasks

  • Better config dump output
  • Option to report confg on crash
  • Switch edge image to ubuntu
  • Better error output

v0.1.5 Release

06 Aug 20:53
Compare
Choose a tag to compare

Bug Fixes

  • Dockerfile.release ca not mkdir

v0.1.4 Release

06 Aug 20:23
Compare
Choose a tag to compare

Miscellaneous Tasks

  • Add support for sentinal + redis pw
  • Put stablesats under /bin in release image

v0.1.3 Release

06 Aug 08:56
Compare
Choose a tag to compare

Bug Fixes

  • Shared name is taken on crates.io

Miscellaneous Tasks

  • Remove author, about from cli
  • Add Dockerfile.release
  • Add BUILDTIME + COMMITHASH to docker image

v0.1.2 Release

05 Aug 21:19
Compare
Choose a tag to compare

Miscellaneous Tasks

  • Complete manifest for Cargo.toml files