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 67ff365 commit cf3656d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rib
Title: An R implementation of Interactive Brokers API
Version: 0.13.1
Version: 0.13.2
Authors@R: person("Luca", "Billi", email = "[email protected]", role = c("aut", "cre"))
Description: A native R implementation of Interactive Brokers API.
It establishes a TCP connection to a server and handles
Expand Down
6 changes: 2 additions & 4 deletions R/Decoder.R
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,7 @@ Decoder <- R6::R6Class("Decoder",
if(private$serverVersion >= MIN_SERVER_VER_SIZE_RULES)
cd[c("minSize",
"sizeIncrement",
"suggestedSizeIncrement",
"minCashQtySize")] <- imsg$pop(4L)
"suggestedSizeIncrement")] <- imsg$pop(3L)

private$validate("contractDetails", reqId=reqId, contractDetails=cd)
},
Expand Down Expand Up @@ -522,8 +521,7 @@ Decoder <- R6::R6Class("Decoder",
if(private$serverVersion >= MIN_SERVER_VER_SIZE_RULES)
cd[c("minSize",
"sizeIncrement",
"suggestedSizeIncrement",
"minCashQtySize")] <- imsg$pop(4L)
"suggestedSizeIncrement")] <- imsg$pop(3L)

private$validate("bondContractDetails", reqId=reqId, contractDetails=cd)
},
Expand Down
1 change: 0 additions & 1 deletion R/structs.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ ContractDetails <- list(contract= Contract,
minSize= NA_real_,
sizeIncrement= NA_real_,
suggestedSizeIncrement= NA_real_,
minCashQtySize= NA_real_,
secIdList= character(),
cusip= "",
ratings= "",
Expand Down
2 changes: 1 addition & 1 deletion inst/data-raw/codes_struct.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
struct type name
Contract i,c,c,c,n,c,c,c,c,c,c,c,l,c,c,c,vComboLeg,oDeltaNeutralContract conId,symbol,secType,lastTradeDateOrContractMonth,strike,right,multiplier,exchange,primaryExchange,currency,localSymbol,tradingClass,includeExpired,secIdType,secId,comboLegsDescrip,comboLegs,deltaNeutralContract
ContractDetails Contract,c,n,c,c,i,i,c,c,c,c,c,c,c,c,c,n,i,c,c,c,c,c,c,n,n,n,n,TagValue,c,c,c,c,c,l,l,n,l,c,c,c,c,l,c contract,marketName,minTick,orderTypes,validExchanges,priceMagnifier,underConId,longName,contractMonth,industry,category,subcategory,timeZoneId,tradingHours,liquidHours,evRule,evMultiplier,aggGroup,underSymbol,underSecType,marketRuleIds,realExpirationDate,lastTradeTime,stockType,minSize,sizeIncrement,suggestedSizeIncrement,minCashQtySize,secIdList,cusip,ratings,descAppend,bondType,couponType,callable,putable,coupon,convertible,maturity,issueDate,nextOptionDate,nextOptionType,nextOptionPartial,notes
ContractDetails Contract,c,n,c,c,i,i,c,c,c,c,c,c,c,c,c,n,i,c,c,c,c,c,c,n,n,n,TagValue,c,c,c,c,c,l,l,n,l,c,c,c,c,l,c contract,marketName,minTick,orderTypes,validExchanges,priceMagnifier,underConId,longName,contractMonth,industry,category,subcategory,timeZoneId,tradingHours,liquidHours,evRule,evMultiplier,aggGroup,underSymbol,underSecType,marketRuleIds,realExpirationDate,lastTradeTime,stockType,minSize,sizeIncrement,suggestedSizeIncrement,secIdList,cusip,ratings,descAppend,bondType,couponType,callable,putable,coupon,convertible,maturity,issueDate,nextOptionDate,nextOptionType,nextOptionPartial,notes
ContractDescription Contract,c contract,derivativeSecTypes
Order i,i,i,c,n,c,n,n,c,c,c,c,i,c,l,i,l,l,i,i,l,l,c,c,c,l,i,n,l,n,n,c,c,c,c,c,c,i,c,i,n,l,c,n,n,n,n,n,l,l,n,i,c,n,i,c,c,c,c,l,i,c,l,i,n,i,i,i,n,n,i,n,l,i,i,l,c,c,c,c,c,c,c,c,TagValue,TagValue,c,l,l,l,c,n,TagValue,i,n,l,n,c,c,n,n,n,n,i,n,vCondition,l,l,c,SoftDollarTier,n,c,c,c,c,l,l,l,c,n,i,l,c,l,l,i,l,i,i orderId,clientId,permId,action,totalQuantity,orderType,lmtPrice,auxPrice,tif,activeStartTime,activeStopTime,ocaGroup,ocaType,orderRef,transmit,parentId,blockOrder,sweepToFill,displaySize,triggerMethod,outsideRth,hidden,goodAfterTime,goodTillDate,rule80A,allOrNone,minQty,percentOffset,overridePercentageConstraints,trailStopPrice,trailingPercent,faGroup,faProfile,faMethod,faPercentage,openClose,origin,shortSaleSlot,designatedLocation,exemptCode,discretionaryAmt,optOutSmartRouting,auctionStrategy,startingPrice,stockRefPrice,delta,stockRangeLower,stockRangeUpper,randomizeSize,randomizePrice,volatility,volatilityType,deltaNeutralOrderType,deltaNeutralAuxPrice,deltaNeutralConId,deltaNeutralSettlingFirm,deltaNeutralClearingAccount,deltaNeutralClearingIntent,deltaNeutralOpenClose,deltaNeutralShortSale,deltaNeutralShortSaleSlot,deltaNeutralDesignatedLocation,continuousUpdate,referencePriceType,basisPoints,basisPointsType,scaleInitLevelSize,scaleSubsLevelSize,scalePriceIncrement,scalePriceAdjustValue,scalePriceAdjustInterval,scaleProfitOffset,scaleAutoReset,scaleInitPosition,scaleInitFillQty,scaleRandomPercent,scaleTable,hedgeType,hedgeParam,account,settlingFirm,clearingAccount,clearingIntent,algoStrategy,algoParams,smartComboRoutingParams,algoId,whatIf,notHeld,solicited,modelCode,orderComboLegs,orderMiscOptions,referenceContractId,peggedChangeAmount,isPeggedChangeAmountDecrease,referenceChangeAmount,referenceExchangeId,adjustedOrderType,triggerPrice,adjustedStopPrice,adjustedStopLimitPrice,adjustedTrailingAmount,adjustableTrailingUnit,lmtPriceOffset,conditions,conditionsCancelOrder,conditionsIgnoreRth,extOperator,softDollarTier,cashQty,mifid2DecisionMaker,mifid2DecisionAlgo,mifid2ExecutionTrader,mifid2ExecutionAlgo,dontUseAutoPriceForHedge,isOmsContainer,discretionaryUpToLimitPrice,autoCancelDate,filledQuantity,refFuturesConId,autoCancelParent,shareholder,imbalanceOnly,routeMarketableToBbo,parentPermId,usePriceMgmtAlgo,duration,postToAts
OrderState c,c,c,c,c,c,c,c,c,c,n,n,n,c,c,c,c status,initMarginBefore,maintMarginBefore,equityWithLoanBefore,initMarginChange,maintMarginChange,equityWithLoanChange,initMarginAfter,maintMarginAfter,equityWithLoanAfter,commission,minCommission,maxCommission,commissionCurrency,warningText,completedTime,completedStatus
Expand Down

0 comments on commit cf3656d

Please sign in to comment.