DateTime parsing #446
              
                Unanswered
              
          
                  
                    
                      edfenergy-richardcannock
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 6 replies
-
| The error states "trade date" so it is not complaining about TransactTime, but TradeDate(75) which is part of NoDates repeating group. | 
Beta Was this translation helpful? Give feedback.
                  
                    6 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
We are attempting to use QuickFix\J to retrieve a trade capture report for gas trades for the last three days from the ICE intercontinental exchange as follows:
quickfix.field.TradeRequestID id = new quickfix.field.TradeRequestID("SubscriptionId");
quickfix.field.TradeRequestType reporttype = new TradeRequestType(TradeRequestType.MATCHED_TRADES_MATCHING_CRITERIA_PROVIDED_ON_REQUEST);
quickfix.fix44.TradeCaptureReportRequest req = new quickfix.fix44.TradeCaptureReportRequest(id,reporttype);
quickfix.field.SubscriptionRequestType subType = new quickfix.field.SubscriptionRequestType(SubscriptionRequestType.SNAPSHOT);
This results in the following error from the exchange, which seems to relate to the dates passed in:
8=FIX.4.4�9=180�35=AQ�49=ICE�34=2�52=20211201-11:00:43.342�56=14943�57=EdfDev01�568=SubscriptionId�569=1�749=99�750=2�58=Error while parsing trade date 'null'. Format: YYYYMMDD-HH:MM:SS[.sss]�10=009�)
I'm not sure if this is due to the values passed into TransactTime and as a result some bug in QuickFix\J
Apologies if this is best address via the mailing list.
Beta Was this translation helpful? Give feedback.
All reactions