Skip to content

Commit

Permalink
Remove minCashQtySize
Browse files Browse the repository at this point in the history
  • Loading branch information
lbilli committed Oct 26, 2021
1 parent dc93110 commit 64a8421
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Jib"
uuid = "f310f2d2-a263-11e8-3998-47bd686f18f7"
authors = ["Luca Billi <[email protected]>"]
version = "0.14.1"
version = "0.14.2"

[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand Down
6 changes: 2 additions & 4 deletions src/process.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions src/types_private.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)


Expand Down

0 comments on commit 64a8421

Please sign in to comment.