Skip to content

Releases: d-e-s-o/apca

v0.24.0

17 Jun 21:26
v0.24.0
4d808d5
Compare
Choose a tag to compare
  • Made more types serializable/deserializable
  • Renamed various Trade* types to Order*
  • Removed #[non_exhaustive] attribute from various types

v0.23.0

17 Jun 21:26
v0.23.0
7bd3027
Compare
Choose a tag to compare
  • Added support for subscribing to realtime quotes in addition to aggregate bar data
  • Adjusted data API request types to include optional data feed to use
  • Adjusted data::v2::last_quote::Get to accept a LastQuoteReq object
  • Added Crypto variant to api::v2::asset::Class enum and made it non-exhaustive
  • Added Otc variant to api::v2::asset::Exchange enum and made it non-exhaustive
  • Introduced api::v2::order::Status::is_terminal method
  • Replaced infallible From<Into<String>> conversion for asset::Symbol with fallible TryFrom
  • Made members of ApiInfo publicly accessible and added more URL members
  • Renamed various 422 HTTP status error variants to InvalidInput
  • Changed various limit types to usize
  • Changed api::v2::orders::OrdersReq::limit to be an Option
  • Added example illustrating how to stream realtime market data

v0.22.5

17 Jun 21:25
v0.22.5
6701868
Compare
Choose a tag to compare
  • Renamed data::v2::bars::BarReq to BarsReq
    • Deprecated data::v2::bars::BarReq
  • Introduced data::v2::bars::BarsReqInit type
  • Introduced ApiInfo::into_parts method

v0.22.4

17 Jun 21:25
v0.22.4
2a0c17c
Compare
Choose a tag to compare
  • Adjusted Subscribable trait to make all created futures implement Send

v0.22.3

17 Jun 21:24
v0.22.3
29b3fa7
Compare
Choose a tag to compare
  • Added api::v2::calendar module for retrieving historic and future market open and close times
  • Added support for historic quote retrieval via data::v2::quotes

v0.22.0

17 Jun 21:23
v0.22.0
b2e22a9
Compare
Choose a tag to compare
  • Reworked account update streaming support using a subscription based design
    • Renamed api::v2::events to api::v2::updates
    • Removed event module providing low-level access to update streaming
  • Renamed InsufficientFunds variant of api::v2::order::PostError and api::v2::order::PatchError to NotPermitted
  • Removed support for streaming account updates
  • Removed data::v2::stocks module alias
  • Switched from using test-env-log to test-log
  • Bumped minimum supported Rust version to 1.56
  • Switched to using Rust 2021 Edition
  • Added async-trait dependency in version 0.1.51
  • Bumped websocket-util dependency to 0.10.1
  • Bumped tokio-tungstenite dependency to 0.16

v0.22.2

17 Jun 21:24
v0.22.2
9ad0ca5
Compare
Choose a tag to compare
  • Fixed JSON decoding error when no bars are returned in response to data::v2::bars::Get request

v0.22.1

17 Jun 21:23
v0.22.1
5acc817
Compare
Choose a tag to compare
  • Added support for realtime market data streaming via data::v2::stream::RealtimeData

v0.21.1

17 Jun 21:22
v0.21.1
db90392
Compare
Choose a tag to compare
  • Introduced support for retrieving the last quote for a symbol
  • Aliased data::v2::bars module to data::v2::stocks
    • Deprecated data::v2::stocks module alias

v0.21.0

17 Jun 21:22
v0.21.0
88d66c7
Compare
Choose a tag to compare
  • Introduced support for historic data retrieval using v2 API
  • Added bindings for watchlist management
  • Added support for submitting notional orders
  • Adjusted all quantities to be of type Num to fully support trading with fractional quantities
  • Tagged more functions and methods as #[inline]
  • Removed support for v1 historic data API