OEC API > Market Data > Fix error: Unknown contract
Author
|
Topic: Fix error: Unknown contract
(2 messages, Page 1 of 1)
|
Moderators:
VPfau
|
RPaganini2
Posts: 68
Joined: Jul 20, 2011
|
Posted: Sep 06, 2011 @ 08:11 AM
Msg. 1 of 2
I'm trying to close a position and I getting a Unknown contract description of the error. What's I'm doing wrong: Here's the details: Header BeginString [8R] = FIX.4.4 BodyLength [9R] = 250 MsgSeqNum [34R] = 77 MsgType [35R] = ExecutionReport SenderCompID [49R] = OEC SendingTime [52R] = 20110906-12:07:29 TargetCompID [56R] = RPaganini2TM Body Account [1] = 1 AvgPx [6R] = 0 ClOrdID [11] = 2113001 CumQty [14R] = 0 ExecID [17R] = OECFIX:634508295033528388:7 OrderID [37R] = OECFIX:634508295033528388:6 OrderQty [38] = 7 OrdStatus [39R] = REJECTED Side [54R] = SELL [2] Symbol [55] = 6SU1 Text [58] = Unknown contract TransactTime [60] = 20110906-12:07:29 PositionEffect [77] = CLOSE [C] OrdRejReason [103] = UNKNOWNSYM [1] ExecType [150R] = REJECTED LeavesQty [151R] = 7 MaturityMonthYear [200] = 201109 CFICode [461] = FXXXXS Trailer CheckSum [10R] = 136
And I'm trying to close using: Header BeginString [8R] = FIX.4.4 BodyLength [9R] = 159 MsgSeqNum [34R] = 77 MsgType [35R] = NewOrderSingle [D] SenderCompID [49R] = RPaganini2TM SendingTime [52R] = 20110906-12:07:29.720 TargetCompID [56R] = OEC Body Account [1] = 1 ClOrdID [11R] = 2113001 HandlInst [21] = AUTOEXECPRIV [1] OrderQty [38] = 7 OrdType [40R] = MARKET [1] Side [54R] = SELL [2] Symbol [55] = 6SU1 TimeInForce [59] = GOODTILLCANCEL [1] TransactTime [60R] = 20110906-12:07:29.717 PositionEffect [77] = CLOSE [C] MaturityMonthYear [200] = 201109 CFICode [461] = FXXXXS Trailer CheckSum [10R] = 162
Can you check for me what's I'm doing wrong? I'm using my own fix connection instead of use through the API. Rufo André Paganini
|
VictorV
Posts: 746
Joined: May 08, 2007
|
Posted: Sep 06, 2011 @ 08:14 AM
Msg. 2 of 2
Hello,
Symbol tag should be 6S in your case.
Victor Vins Lead Software Developer
|
|