Skip to content

Releases: d-e-s-o/apca

v0.20.0

17 Jun 21:22
v0.20.0
a93f457
Compare
Choose a tag to compare
  • Migrated most usages of SystemTime date times to chrono::DateTime
  • Added Activity::time method for retrieving the time stamp of an account activity
  • Marked several more types as non_exhaustive
  • Made price related attributes of Position type optional after announcement of breaking API change at Alpaca
  • Added fractionable attribute to Asset type
  • Switched to using tarpaulin for code coverage collection
  • Formatted code base using rustfmt and checked in configuration
    • Added enforcement of code formatting style checks in CI
  • Added CI checks for auto generated code documentation
  • Removed time-util dependency

v0.19.0

17 Jun 21:21
v0.19.0
6954184
Compare
Choose a tag to compare
  • Added ApiInfo::from_parts constructor
  • Adjusted Client::issue to accept request input via reference
  • Introduced ConversionError type
    • Replaced unwraps with proper error variants
  • Updated ActivityType enum to be in sync with upstream variants
  • Added support for unknown ActivityType variants
  • Switched to using thiserror crate for defining error types
  • Updated num-decimal to use version 0.4 of the num-* crates
  • Bumped minimum supported Rust version to 1.46
  • Bumped http-endpoint dependency to 0.5
  • Bumped websocket-util dependency to 0.8
  • Bumped tokio-tungstenite dependency to 0.14

v0.18.0

17 Jun 21:20
v0.18.0
9554633
Compare
Choose a tag to compare
  • Introduced trailing stop order types
  • Added support for paging of account activity data
  • Added support for specifying reported account activity direction as well as until and after times
  • Bumped time-util dependency to 0.3

v0.17.0

17 Jun 21:20
v0.17.0
b608741
Compare
Choose a tag to compare
  • Added PendingReplace variant to TradeStatus enum
  • Added support for listing nested orders
  • Replaced usage of private serde API with inline code
  • Bumped minimum supported Rust version to 1.44
  • Excluded unnecessary files from being contained in release bundle
  • Replaced async-tungstenite dependency with tokio-tungstenite
  • Removed chrono dependency
  • Bumped hyper dependency to 0.14
  • Bumped hyper-tls dependency to 0.5
  • Bumped tokio dependency to 1.0
  • Bumped websocket-util dependency to 0.7

v0.16.0

17 Jun 21:20
v0.16.0
6262232
Compare
Choose a tag to compare
  • Converted NonTradeActivity::quantity from u64 to Num
  • Bumped http-endpoint dependency to 0.4
  • Bumped websocket-util dependency to 0.6
  • Bumped async-tungstenite dependency to 0.8
  • Bumped serde_urlencoded dependency to 0.7

v0.15.0

17 Jun 21:19
v0.15.0
63b6b2b
Compare
Choose a tag to compare
  • Enabled CI pipeline comprising building, testing, linting, and coverage collection of the project
    • Added badges indicating pipeline status and code coverage percentage
  • Bumped websocket-util dependency to 0.5
  • Bumped async-tungstenite dependency to 0.5

v0.14.0

17 Jun 21:19
v0.14.0
4ae3366
Compare
Choose a tag to compare
  • Added example illustrating how to submit a limit order
  • Bumped http-endpoint dependency to 0.2

v0.13.0

17 Jun 21:19
v0.13.0
29d23c3
Compare
Choose a tag to compare
  • Added stream_raw function for interfacing with raw event streams
  • Adjusted streaming function to expect reference to ApiInfo object
  • Removed serialization support for account & trade events
  • Removed TradeStatus::to_order_status method
  • Bumped websocket-util dependency to 0.4

v0.12.0

17 Jun 21:18
v0.12.0
210a042
Compare
Choose a tag to compare
  • Added support for handling unknown variants for account::Status, asset::Exchange, events::TradeStatus, and order::Status
  • Added PendingReplace order status variant
  • Removed serialization support for Exchange enum

v0.11.0

17 Jun 21:18
v0.11.0
5714461
Compare
Choose a tag to compare
  • Added support for bracket-style orders
  • Added From implementation for asset::Symbol type
  • Added support for almost-default construction of various request types
  • Converted Account::daytrade_count to u64
  • Decreased tracing verbosity by one level
  • Bumped num-decimal dependency to 0.2