diff --git a/Project.toml b/Project.toml index fcf5412..772caa1 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Jib" uuid = "f310f2d2-a263-11e8-3998-47bd686f18f7" authors = ["Luca Billi "] -version = "0.14.1" +version = "0.14.2" [deps] DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" diff --git a/src/process.jl b/src/process.jl index 7265245..d899284 100644 --- a/src/process.jl +++ b/src/process.jl @@ -326,8 +326,7 @@ const process = Dict{Int,Function}( # TODO Use a Tuple instead? ver ≥ Client.SIZE_RULES && slurp!(cd, (:minSize, :sizeIncrement, - :suggestedSizeIncrement, - :minCashQtySize), it) + :suggestedSizeIncrement), it) w.contractDetails(reqId, cd) end, @@ -426,8 +425,7 @@ const process = Dict{Int,Function}( # TODO Use a Tuple instead? ver ≥ Client.SIZE_RULES && slurp!(cd, (:minSize, :sizeIncrement, - :suggestedSizeIncrement, - :minCashQtySize), it) + :suggestedSizeIncrement), it) w.bondContractDetails(reqId, cd) end, diff --git a/src/types_private.jl b/src/types_private.jl index 6f7787a..5170ad5 100644 --- a/src/types_private.jl +++ b/src/types_private.jl @@ -42,7 +42,6 @@ mutable struct ContractDetails minSize::Union{Float64,Nothing} sizeIncrement::Union{Float64,Nothing} suggestedSizeIncrement::Union{Float64,Nothing} - minCashQtySize::Union{Float64,Nothing} secIdList::NamedTuple cusip::String ratings::String @@ -62,7 +61,7 @@ mutable struct ContractDetails end ContractDetails() = ContractDetails(Contract(), ns, 0, ns, ns, 0, 0, fill(ns, 9)..., nothing, nothing, fill(ns, 6)..., nothing, nothing, - nothing, nothing, (;), fill(ns, 5)..., false, false, + nothing, (;), fill(ns, 5)..., false, false, nothing, false, ns, ns, ns, ns, false, ns)