Skip to content

Commit

Permalink
Merge pull request #23 from binance/rc-1.2.1
Browse files Browse the repository at this point in the history
Release v1.2.1
  • Loading branch information
alplabin authored Oct 3, 2024
2 parents 99fced1 + d7d4cbf commit 94c72e5
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.2.1 - 2024-10-03
### Updated
- Updated url links

## 1.2.0 - 2024-06-26

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "binance_spot_connector_rust"
version = "1.2.0"
version = "1.2.1"
authors = ["Binance"]
edition = "2021"
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion src/http/credentials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/// Note: Production and TESTNET API Credentials are not
/// interchangeable.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#api-key-restrictions)
/// [API Documentation](https://developers.binance.com/docs/rebate/quick-start#api-key-restrictions)
///
#[derive(PartialEq, Eq, Clone)]
pub struct Credentials {
Expand Down
2 changes: 1 addition & 1 deletion src/http/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl<T> HttpError<T> {
pub struct BinanceApiError {
/// Error code
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#error-codes)
/// [API Documentation](https://developers.binance.com/docs/margin_trading/error-code)
#[serde(rename(deserialize = "code"))]
pub code: i16,

Expand Down
2 changes: 1 addition & 1 deletion src/market_stream/agg_trade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::websocket::Stream;
///
/// Update Speed: Real-time.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#aggregate-trade-streams)
///
/// # Example
///
Expand Down
2 changes: 1 addition & 1 deletion src/market_stream/book_ticker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::websocket::Stream;
///
/// Update Speed: Real-time.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-book-ticker-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-book-ticker-streams)
///
/// # Example
///
Expand Down
2 changes: 1 addition & 1 deletion src/market_stream/diff_depth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::websocket::Stream;
///
/// Update Speed: 1000ms or 100ms.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams)
///
/// # Example
///
Expand Down
4 changes: 2 additions & 2 deletions src/market_stream/kline.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use crate::market::klines::KlineInterval;
use crate::websocket::Stream;

/// Kline/Candlestick Stream
/// Kline/Candlestick Streams for UTC
///
/// The Kline/Candlestick Stream push updates to the current klines/candlestick every second.
///
/// Update Speed: 2000ms
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-for-utc)
///
/// # Example
///
Expand Down
2 changes: 1 addition & 1 deletion src/market_stream/mini_ticker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::websocket::Stream;
///
/// Update Speed: 1000ms.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream)
///
/// # Example
///
Expand Down
2 changes: 1 addition & 1 deletion src/market_stream/partial_depth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::websocket::Stream;
///
/// Update Speed: 1000ms or 100ms.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams)
///
/// # Example
///
Expand Down
2 changes: 1 addition & 1 deletion src/market_stream/rolling_window_ticker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::websocket::Stream;
///
/// Update Speed: 1000ms.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-rolling-window-statistics-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-rolling-window-statistics-streams)
///
/// # Example
///
Expand Down
2 changes: 1 addition & 1 deletion src/market_stream/ticker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::websocket::Stream;
///
/// Update Speed: 1000ms.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-ticker-streams)
///
/// # Example
///
Expand Down
2 changes: 1 addition & 1 deletion src/market_stream/trade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::websocket::Stream;
///
/// Update Speed: Real-time.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#trade-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#trade-streams)
///
/// # Example
///
Expand Down
2 changes: 1 addition & 1 deletion src/user_data_stream/user_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::websocket::Stream;
/// an OCO, an event will be displayed named `ListStatus` in addition
/// to the `executionReport` event.
///
/// [API Documentation](https://binance-docs.github.io/apidocs/spot/en/#user-data-streams)
/// [API Documentation](https://developers.binance.com/docs/binance-spot-api-docs/user-data-stream)
pub struct UserDataStream {
listen_key: String,
}
Expand Down

0 comments on commit 94c72e5

Please sign in to comment.