Skip to content

Commit 80e01f4

Browse files
authored
fix: update settlePlan field type to support null values (#64)
1 parent 33b11d8 commit 80e01f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "CryptoExchangeAPIs"
22
uuid = "5e3d4798-c815-4641-85e1-deed530626d3"
3-
version = "0.33.0"
3+
version = "0.33.1"
44

55
[deps]
66
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

src/Binance/USDMFutures/API/ExchangeInfo.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ struct Symbols <: BinanceData
5555
quoteAsset::String
5656
quotePrecision::Int64
5757
requiredMarginPercent::Float64
58-
settlePlan::Int64
58+
settlePlan::Union{Nothing,Int64}
5959
status::String
6060
symbol::String
6161
timeInForce::Vector{String}
@@ -102,7 +102,7 @@ Current exchange trading rules and symbol information.
102102
using Serde
103103
using CryptoExchangeAPIs.Binance
104104
105-
result = Binance.USDMFutures.exchange_info()
105+
result = Binance.USDMFutures.exchange_info()
106106
107107
to_pretty_json(result.result)
108108
```

0 commit comments

Comments
 (0)