- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在编辑 ExecutionReport
消息后重建 quick-fix
jar。
但它给出了一个错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
8.0:compile (default-compile) on project quickfixj-examples-executor: Compilatio
n failure: Compilation failure:
[ERROR] /C:/Users/admin/Desktop/QuickFIxJarMaker/quickfixj-master/quickfixj-mast
er/quickfixj-examples/executor/src/main/java/quickfix/examples/executor/Applicat
ion.java:[272,49] no suitable constructor found for ExecutionReport(quickfix.fie
ld.OrderID,quickfix.field.ExecID,quickfix.field.ExecTransType,quickfix.field.Exe
cType,quickfix.field.OrdStatus,quickfix.field.Symbol,quickfix.field.Side,quickfi
x.field.LeavesQty,quickfix.field.CumQty,quickfix.field.AvgPx)
[ERROR] constructor quickfix.fix42.ExecutionReport.ExecutionReport() is not appl
icable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor quickfix.fix42.ExecutionReport.ExecutionReport(quickfix.fiel
d.OrderID,quickfix.field.ExecType,quickfix.field.OrdStatus,quickfix.field.Leaves
Qty,quickfix.field.CumQty,quickfix.field.AvgPx) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] /C:/Users/admin/Desktop/QuickFIxJarMaker/quickfixj-master/quickfixj-mast
er/quickfixj-examples/executor/src/main/java/quickfix/examples/executor/Applicat
ion.java:[280,62] no suitable constructor found for ExecutionReport(quickfix.fie
ld.OrderID,quickfix.field.ExecID,quickfix.field.ExecTransType,quickfix.field.Exe
cType,quickfix.field.OrdStatus,quickfix.field.Symbol,quickfix.field.Side,quickfi
x.field.LeavesQty,quickfix.field.CumQty,quickfix.field.AvgPx)
[ERROR] constructor quickfix.fix42.ExecutionReport.ExecutionReport() is not appl
icable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor quickfix.fix42.ExecutionReport.ExecutionReport(quickfix.fiel
d.OrderID,quickfix.field.ExecType,quickfix.field.OrdStatus,quickfix.field.Leaves
Qty,quickfix.field.CumQty,quickfix.field.AvgPx) is not applicable
[ERROR] (actual and formal argument lists differ in length)
所有字段均在 FIX42.xml 中定义。
<message name='ExecutionReport' msgcat='app' msgtype='8'>
<field name='OrderID' required='Y' />
<field name='SecondaryOrderID' required='N' />
<field name='SecondaryClOrdID' required='N' />
<field name='SecondaryExecID' required='N' />
<field name='ClOrdID' required='N' />
<field name='OrigClOrdID' required='N' />
<field name='TTClOrdID' required='N' />
<group name='NoPartyIDs' required='N'>
<field name='PartyID' required='N' />
<field name='PartyRole' required='N' />
<field name='PartyRoleQualifier' required='N' />
<field name='PartyIDSource' required='N' />
</group>
<field name='ExecID' required='N' />
<field name='ExecTransType' required='N' />
<field name='ExecRefID' required='N' />
<field name='ExecType' required='Y' />
<field name='ExecInst' required='N' />
<field name='OrdStatus' required='Y' />
<field name='OrdRejReason' required='N' />
<field name='ExecRestatementReason' required='N' />
<field name='RequestID' required='N'/>
<field name='Account' required='N' />
<field name='Symbol' required='N' />
<field name='SecurityDesc' required='N' />
<field name='Product' required='N' />
<field name='SecurityID' required='N' />
<field name='SecurityType' required='N' />
<field name='SecuritySubType' required='N' />
<field name='MaturityMonthYear' required='N' />
<field name='MaturityDate' required='N' />
<field name='MaturityDay' required='N' />
<field name='PutOrCall' required='N' />
<field name='IDSource' required='N' />
<field name='StrikePrice' required='N' />
<field name='OptAttribute' required='N' />
<field name='SecurityExchange' required='N' />
<field name='ExDestination' required='N' />
<field name='CFICode' required='N' />
<field name='Currency' required='N' />
<field name='DeliveryTerm' required='N' />
<field name='DeliveryDate' required='N' />
<field name='Side' required='N' />
<field name='OrderQty' required='N' />
<field name='OrdType' required='N' />
<field name='Price' required='N' />
<field name='StopPx' required='N' />
<field name='TimeInForce' required='N' />
<field name='ExpireDate' required='N' />
<field name='ClearingFirm' required='N' />
<field name='ClearingAccount' required='N' />
<field name='CustomerAccountRefID' required='N' />
<field name='LastShares' required='N' />
<field name='LastPx' required='N' />
<field name='LeavesQty' required='Y' />
<field name='CumQty' required='Y' />
<field name='AvgPx' required='Y' />
<field name='TradeDate' required='N' />
<field name='TransactTime' required='N' />
<field name='MinQty' required='N' />
<field name='OpenClose' required='N' />
<field name='DisplayQty' required='N'/>
<field name='RefreshQty' required='N'/>
<field name='Text' required='N' />
<field name='MultiLegReportingType' required='N' />
<field name='ManualOrderIndicator' required='N' />
<field name='ExchCred' required='N' />
<field name='OrderCapacity' required='N' />
<field name='CustOrderCapacity' required='N' />
<field name='ContingencyType' required='N' />
<field name='TTID' required='N' />
<field name='TrdType' required='N' />
<field name='TrdMatchID' required='N' />
<field name='CrossID' required='N' />
<field name='CrossType' required='N' />
<field name='TradeReportID' required='N' />
<field name='AOTCPreventionActionType' required='N'/>
<field name='TotalNumOrders' required='N'/>
<field name='BrokerID' required='N'/>
<field name='CompanyID' required='N'/>
<field name='LastParPx' required='N'/>
<field name='HandlInst' required='N' />
<field name='StagedOrderMsg' required='N' />
<field name='StagedOrderOwner' required='N' />
<field name='StagedOrderStatus' required='N' />
<field name='ExternalSource' required='N' />
<field name='ContractYearMonth' required='N' />
<group name='NoSecurityAltID' required='N'>
<field name='SecurityAltID' required='N' />
<field name='SecurityAltIDSource' required='N' />
</group>
<group name='NoStrategyParameters' required='N'>
<field name='StrategyParameterName' required='N' />
<field name='StrategyParameterType' required='N' />
<field name='StrategyParameterValue' required='N' />
</group>
<field name='AggressorIndicator' required='N' />
<field name='EffectiveTime' required='N' />
<field name='ExpireTime' required='N' />
<field name='TargetStrategyName' required='N' />
<field name='TargetStrategyType' required='N' />
<field name='BracketOrderType' required='N' />
<field name='BracketStopLimitOffset' required='N' />
<field name='ChildTIF' required='N' />
<field name='DiscVal' required='N' />
<field name='DiscValType' required='N' />
<field name='ETimeAct' required='N' />
<field name='Interval' required='N' />
<field name='IsTrlTrg' required='N' />
<field name='LeftoverAction' required='N' />
<field name='LeftoverTicks' required='N' />
<field name='LimitPriceType' required='N' />
<field name='LimitTicksAway' required='N' />
<field name='OcoStopTriggerPrice' required='N' />
<field name='ProfitTarget' required='N' />
<field name='StopLimitOffset' required='N' />
<field name='StopOrderType' required='N' />
<field name='StopTarget' required='N' />
<field name='TriggerPriceType' required='N' />
<field name='TriggerTicksAway' required='N' />
<field name='TriggerType' required='N' />
<field name='WithATickType' required='N' />
<field name='WithATick' required='N' />
<field name='AllocID' required='N' />
<field name='RefID' required='N' />
<group name='NoLegs' required='N'>
<field name='LegSymbol' required='N' />
<field name='LegSecurityDesc' required='N' />
<field name='LegProduct' required='N' />
<field name='LegSecurityID' required='N' />
<field name='LegIDSource' required='N' />
<field name='LegSecurityType' required='N' />
<field name='LegSecuritySubType' required='N' />
<field name='LegMaturityMonthYear' required='N' />
<field name='LegMaturityDate' required='N' />
<field name='LegMaturityDay' required='N' />
<field name='LegStrikePrice' required='N' />
<field name='LegPutOrCall' required='N' />
<field name='LegOptAttribute' required='N' />
<field name='LegSecurityExchange' required='N' />
<field name='LegExDestination' required='N' />
<field name='LegCFICode' required='N' />
<field name='LegSide' required='N' />
<field name='LegRatioQty' required='N' />
<field name='LegCurrency' required='N' />
<field name='LegDeliveryTerm' required='N' />
<field name='LegDeliveryDate' required='N' />
<field name='LegContractYearMonth' required='N' />
<field name='LegQty' required='N' />
<field name='LegRefID' required='N' />
<field name='LegPrice' required='N' />
<field name='LegLastPx' required='N' />
<field name='LegAllocID' required='N' />
<group name='NoLegSecurityAltID' required='N'>
<field name='LegSecurityAltID' required='N' />
<field name='LegSecurityAltIDSource' required='N' />
</group>
<group name='LegNoFills' required='N'>
<field name='LegFillExecID' required='N' />
<field name='LegFillPx' required='N' />
<field name='LegFillQty' required='N' />
<field name='LegFillTradingVenueRegulatoryTradeID' required='N' />
<field name='LegFillLastLiquidityIndicator' required='N' />
</group>
</group>
<group name='NoLinks' required='N'>
<field name='LinkID' required='Y' />
<field name='LinkType' required='Y' />
</group>
<group name='NoFills' required='N'>
<field name='FillExecID' required='N' />
<field name='FillPx' required='N' />
<field name='FillQty' required='N' />
<field name='FillTradingVenueRegulatoryTradeID' required='N' />
<field name='FillLastLiquidityIndicator' required='N' />
<field name='FillYieldType' required='N' /> <!-- applies to fills imported from CME drop copy service only -->
</group>
<field name='ClearingAccountOverride' required='N' />
<field name='DropCopyOrder' required='N' />
<field name='OrderOrigination' required='N' />
<field name='TrdRegPublicationReason' required='N' />
<field name='TradingVenueRegulatoryTradeID' required='N' />
<field name='LastLiquidityIndicator' required='N' />
<group name='NoOrderAttributes' required='N'>
<field name='OrderAttributeType' required='N' />
<field name='OrderAttributeValue' required='N' />
</group>
<field name='OrderIDGUID' required='N' />
<field name='TextTT' required='N' />
<field name='TextA' required='N' />
<field name='TextB' required='N' />
<field name='TextC' required='N' />
<field name='TimeReceivedFromExchange' required='N' />
<field name='EchoDC_01' required='N' />
<field name='EchoDC_02' required='N' />
<field name='EchoDC_03' required='N' />
<field name='EchoDC_04' required='N' />
<field name='EchoDC_05' required='N' />
<field name='EchoDC_06' required='N' />
<field name='EchoDC_07' required='N' />
<field name='EchoDC_08' required='N' />
<field name='EchoDC_09' required='N' />
<field name='EchoDC_10' required='N' />
<field name='SelfMatchPreventionID' required='N' />
<field name='SMPInstruction' required='N' />
<field name='OrderSource' required='N' />
<field name='UniqueExecID' required='N' />
<field name='SpreadLegRatioQty' required='N' />
<field name='LastMkt' required='N' />
<field name='AccountRiskGroup' required='N' />
<field name='MlegHeadExecId' required='N' />
<field name='OrdStatusReqID' required='N' />
<field name='TTCustomerName' required='N' />
<field name='AccountID' required='N' />
<field name='UserID' required='N' />
<field name='InvestmentDecision' required='N' />
<field name='ExecutionDecision' required='N' />
<field name='ClientIDCode' required='N' />
<field name='RequestTime' required='N' />
</message>
谢谢
最佳答案
quickfixj-examples-executor
期望 FIX4.2 ExecutionReport 是默认的 FIX4.2 执行报告。例如。看来您将 ExecID
和 ExecTransType
更改为不需要的。重新生成代码后,将不会有包含 ExecID
和 ExecTransType
作为参数的构造函数。因此出现构建错误。因此,您要么还需要调整示例项目的代码,要么将它们从您的构建中排除。
关于java - 在 FIX42 中重建 QuickfixJ-ExecutionReport 时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57609636/
SQLite、Content provider 和 Shared Preference 之间的所有已知区别。 但我想知道什么时候需要根据情况使用 SQLite 或 Content Provider 或
警告:我正在使用一个我无法完全控制的后端,所以我正在努力解决 Backbone 中的一些注意事项,这些注意事项可能在其他地方更好地解决......不幸的是,我别无选择,只能在这里处理它们! 所以,我的
我一整天都在挣扎。我的预输入搜索表达式与远程 json 数据完美配合。但是当我尝试使用相同的 json 数据作为预取数据时,建议为空。点击第一个标志后,我收到预定义消息“无法找到任何内容...”,结果
我正在制作一个模拟 NHL 选秀彩票的程序,其中屏幕右侧应该有一个 JTextField,并且在左侧绘制弹跳的选秀球。我创建了一个名为 Ball 的类,它实现了 Runnable,并在我的主 Draf
这个问题已经有答案了: How can I calculate a time span in Java and format the output? (18 个回答) 已关闭 9 年前。 这是我的代码
我有一个 ASP.NET Web API 应用程序在我的本地 IIS 实例上运行。 Web 应用程序配置有 CORS。我调用的 Web API 方法类似于: [POST("/API/{foo}/{ba
我将用户输入的时间和日期作为: DatePicker dp = (DatePicker) findViewById(R.id.datePicker); TimePicker tp = (TimePic
放宽“邻居”的标准是否足够,或者是否有其他标准行动可以采取? 最佳答案 如果所有相邻解决方案都是 Tabu,则听起来您的 Tabu 列表的大小太长或您的释放策略太严格。一个好的 Tabu 列表长度是
我正在阅读来自 cppreference 的代码示例: #include #include #include #include template void print_queue(T& q)
我快疯了,我试图理解工具提示的行为,但没有成功。 1. 第一个问题是当我尝试通过插件(按钮 1)在点击事件中使用它时 -> 如果您转到 Fiddle,您会在“内容”内看到该函数' 每次点击都会调用该属
我在功能组件中有以下代码: const [ folder, setFolder ] = useState([]); const folderData = useContext(FolderContex
我在使用预签名网址和 AFNetworking 3.0 从 S3 获取图像时遇到问题。我可以使用 NSMutableURLRequest 和 NSURLSession 获取图像,但是当我使用 AFHT
我正在使用 Oracle ojdbc 12 和 Java 8 处理 Oracle UCP 管理器的问题。当 UCP 池启动失败时,我希望关闭它创建的连接。 当池初始化期间遇到 ORA-02391:超过
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 9 年前。 Improve
引用这个plunker: https://plnkr.co/edit/GWsbdDWVvBYNMqyxzlLY?p=preview 我在 styles.css 文件和 src/app.ts 文件中指定
为什么我的条形这么细?我尝试将宽度设置为 1,它们变得非常厚。我不知道还能尝试什么。默认厚度为 0.8,这是应该的样子吗? import matplotlib.pyplot as plt import
当我编写时,查询按预期执行: SELECT id, day2.count - day1.count AS diff FROM day1 NATURAL JOIN day2; 但我真正想要的是右连接。当
我有以下时间数据: 0 08/01/16 13:07:46,335437 1 18/02/16 08:40:40,565575 2 14/01/16 22:2
一些背景知识 -我的 NodeJS 服务器在端口 3001 上运行,我的 React 应用程序在端口 3000 上运行。我在 React 应用程序 package.json 中设置了一个代理来代理对端
我面临着一个愚蠢的问题。我试图在我的 Angular 应用程序中延迟加载我的图像,我已经尝试过这个2: 但是他们都设置了 src attr 而不是 data-src,我在这里遗漏了什么吗?保留 d
我是一名优秀的程序员,十分优秀!