Go Back   DailyFX Forex Forum | FX Forum > FXCM Products and Services > FXProgrammers > Discussion / Support Forum > Java Trading API Support

Reply
 
Thread Tools Rate Thread
  #1 (permalink)  
Old 02-09-2009, 07:43 PM
Junior Member
 
Join Date: Nov 2007
Posts: 2
iganza is on a distinguished road
PLS-00302: component 'CREATEORDRWITHSL' must be declared??

Hi,

I get the following executing report from the following simple code:

OrderSingle order = MessageGenerator.generateMarketOrder("XXXX", 0, 50000, side, symbol, "market order test");
String requestID = fxcmGateway.sendMessage(order);

What does the error below mean? How do I fix it? Thanks.
----
ExecutionReport --- begin superclass toString mAccount=iganza,mOrderID=NONE,mClOrdID=U10D5_SBwkk EH7GNIeYikj0nOazwJas3gPEq8127js0OH1GkHs69oarYxPpdj eD4-47,mSecondaryClOrdID=market order test,mInstrument=Instrument{mFXCMSymPrecision=0, mFXCMSymID=1, mSymbol='EUR/USD', mTouchTime=0, mFXCMSymPointSize=0.0, mFXCMSymSortOrder=0},mParties=Parties [Party:3:FXCM ID();],mTradingSessionID=FXCM,mTradingSessionSubID=U10D5 ,mTransactTime=20090210-01:39:38 --- end superclass toString {mCumQty=0, mCurrency='EUR', mExecID='0', mExecType=OrdStatus:REJECTED (8), mFXCMErrorDetails='19915;DAS 19915: ZDas Exception
ORA-06550: line 1, column 17:
PLS-00302: component 'CREATEORDRWITHSL' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
', mFXCMOrdStatus=FXCMOrdStatus:Rejected (R), mFXCMOrdType=null, mFXCMPosID='null', mFXCMRequestRejectReason=0, mLastPx=0.0, mLastRptRequested=false, mLeavesQty=0, mMassStatusReqID='null', mOrdStatus=OrdStatus:REJECTED (8), mOrdStatusReqID='null', mOrdType=OrdType:Market (1), mOrderQty=50,000, mOrigClOrdID='null', mPegInstruction=PegInstruction{mFXCMPegFluctuatePt s=0, mPegMoveType=0, mPegOffsetType=0, mPegOffsetValue=0.0}, mPrice=0.0, mSide=SideFactory:Undisclosed (7), mStopPx=0.0, mText='19915;DAS 19915: ZDas Exception
ORA-06550: line 1, column 17:
PLS-00302: component 'CREATEORDRWITHSL' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
', mTimeInForce=TimeInForce:Fill or Kill (4), mTotNumReports=0, mListID='null', mLastQty=0, mOrdRejReason=null}
Reply With Quote
  #2 (permalink)  
Old 02-09-2009, 07:47 PM
Moderator
 
Join Date: Jan 2006
Posts: 2,005
FXCM Help is on a distinguished road
It looks like you are using the wrong account id. Make sure you use the account id that you can obtain from the collateral reports.( CollateralReport.getAccount() )
Reply With Quote
  #3 (permalink)  
Old 02-11-2009, 04:29 PM
Junior Member
 
Join Date: Nov 2007
Posts: 2
iganza is on a distinguished road
Thanks.

That was the problem, which I figured out shortly after sending this. Thanks for your reply.
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.

All times are GMT -5. The time now is 06:43 PM.
Copyright ©2009 Daily FX. All Rights Reserved.