Support Board
Date/Time: Mon, 13 Jan 2025 07:46:16 +0000
Trading - error w/ Issuing an order
View Count: 21301
[2017-04-04 21:25:18] |
jizzary - Posts: 177 |
my broker is IB when i issue an order of BuyEntry i receive the fillowing response Symbol Error - (unknown symbol with ID 5) is unknown, unavailable, or improperly formatted. | 2017-04-04 17:18:49 i assume this message was emmitted by the auto trading managemnt system ... for sure it was not generated by my own logic in code examples there is no requirement to indicate "chart's own" currencies-pair (unless i'm missing something) p.s. the result received from BuyEntry is positive and is eqvivalent to the quantity i was looking to buy Pls assist ... tnx Date Time Of Last Edit: 2017-04-04 21:57:04
|
[2017-04-04 21:32:22] |
Sierra Chart Engineering - Posts: 104368 |
This does not make any sense. There is no symbol even shown in that message. This message also originates from Trader Workstation. There is no need to specify the symbol with automated trading. We do not think you need to be concerned. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2017-04-04 22:00:15] |
jizzary - Posts: 177 |
what do you mean by "This does not make any sense. There is no symbol even shown in that message." this is exacly what i'm pointing that it is a complain that symbol is missing this is the issue whether it makes sense or not i do have a reason to be very concerned no trade is being serviced i'm running Sierra charts (windows env.) what do you mean by "This message also originates from Trader Workstation" who do you think generates this message if not Sierra Charts ? Date Time Of Last Edit: 2017-04-04 23:09:04
|
[2017-04-04 22:32:01] |
jizzary - Posts: 177 |
the below is
Date Time Of Last Edit: 2017-04-05 09:19:09
|
[2017-04-04 22:33:46] |
jizzary - Posts: 177 |
BTW - do i need to select (to enable) on Sierra charts the Trade => Auto Trade Enable
|
[2017-04-05 00:04:01] |
jizzary - Posts: 177 |
Pls read the below the Italic lines are emmitted my own logic the bold one emmitted by Sierra Charts Chart: EURUSD [C] [M] Renko 5t #4 | Study: JABOT | [----- Auto-Trading -----] [Position IDLE] -- [Order ID -1] | 2017-04-04 19:36:45 * Chart: EURUSD [C] [M] Renko 5t #4 | Study: JABOT | [----- Auto-Trading -----] [Position IDLE] -- [Order ID -1] | 2017-04-04 19:36:47 * Chart: EURUSD [C] [M] Renko 5t #4 | Study: JABOT | [----- Auto-Trading -----] [Position IDLE] -- [Order ID -1] | 2017-04-04 19:36:49 * Chart: EURUSD [C] [M] Renko 5t #4 | Study: JABOT | [Long-Enter] Post-Sell-Entry-Order: Result 10000 | 2017-04-04 19:36:49 * Chart: EURUSD [C] [M] Renko 5t #4 | Study: JABOT | [----- Auto-Trading -----] [Position SHORT] -- [Order ID 22991] | 2017-04-04 19:36:49 * Symbol Error - (unknown symbol with ID 13) is unknown, unavailable, or improperly formatted. | 2017-04-04 19:36:49 Chart: EURUSD [C] [M] Renko 5t #4 | Study: JABOT | [----- Auto-Trading -----] [Position SHORT] -- [Order ID 22991] | 2017-04-04 19:36:49 * Chart: EURUSD [C] [M] Renko 5t #4 | Study: JABOT | [----- Auto-Trading -----] [Position SHORT] -- [Order ID 22991] | 2017-04-04 19:36:52 * Chart: EURUSD [C] [M] Renko 5t #4 | Study: JABOT | [----- Auto-Trading -----] [Position SHORT] -- [Order ID 22991] | 2017-04-04 19:36:52 * It is clear that a symbol is missing the order was blocked though it is Ok |
[2017-04-05 00:52:48] |
Sierra Chart Engineering - Posts: 104368 |
Trade >> Auto Trading Enabled does of course need to be enabled. Symbol Error - (unknown symbol with ID 13) is unknown, unavailable, or improperly formatted. | 2017-04-04 19:36:49
We actually realize the text in parentheses is from Sierra Chart, but Trader Workstation is giving an unknown symbol identifier. We have no idea why and do not ask. We do not know the answer to the question. Please do not bother us about that. However, we realize what the problem is. You are using the wrong symbol. Refer to: Interactive Brokers Symbols: Forex Symbols For Trading Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2017-04-05 07:36:28] |
jizzary - Posts: 177 |
> Please do not bother us about that. i appreciate the support efforts... however i feel this response is rude. appreciate if u can find a different way to express yr wish ...tnx |
[2017-04-05 07:58:41] |
jizzary - Posts: 177 |
as for Trade >> Auto Trading Enabled - it is enabled as for rest is there a way i can get log/debug information out of Sierra platform that relate to the oreders issuing (toward IB's TWS) ? i need it in order to speak w/ IB support again. tnx for yr support efforts Date Time Of Last Edit: 2017-04-05 08:00:21
|
[2017-04-06 06:47:29] |
Sierra Chart - Max - Posts: 5778 |
Sent by Email: I have developed a studt for algo-trading and now in the phase where i'm issuing trading orders (th ebroker is IB) I have created a ticket at the support board but sorrily asked not to bother you any more w/ this issue putting aside the very unpolite attitude ... today i have deeply investigated the issue w/ the assistance of Interactive Brokers support reps It came out that may be there is a problem/bug w/ Sierra's code and i'll explain 1. the following is the NewOrder parameters for the buy/sell orders pstn_order.OrderQuantity = MINI_SLOT_VALUE; // 10,000 pstn_order.OrderType = SCT_ORDERTYPE_MARKET; pstn_order.TimeInForce = SCT_TIF_GTC; pstn_order.Symbol = "EUR.USD-CASH-IDEALPRO"; // as defined fro IB symbols 2. w/ the assistnce of IB support - TWS was configured to keep very detailed information in it log file 3. Sierrachart was executing my study that sent trading orders to TWS next will see the information gathered from Seirra and TWS to understand the problem 4. the following info gathered from TWS log file pls notice the information provided by in red bold text 1. the time 2. the ID 3. The Symbol - which is OK 4. The Type which is wrong (=STK) - but should have been CASH 5. The Exchange is wrong (=SMART) - but should have been IDEALPRO 6. The amount is correct 10000 7. An error has been sent back to Sierra 2017-04-05 17:09:33.547 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:INFO] Handling incoming PlaceOrder(3) message. 2017-04-05 17:09:33.547 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:DET] Started reading message: 2017-04-05 17:09:33.548 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:DET] Finished reading message: 2017-04-05 17:09:33.548 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:DET] PlaceOrder(3)::[version=40,ID=198,reqDesc=Symbol=EURUSD Type=STK Expiry=null Strike=0.0 Put/Call=? Exchange=SMART CompExch=null Currency=USD Multiplier=null IbLocalSymbol=null IbTradingClass=null SecIdType=NULL SecId=null includeExpired=false needLeadFutureMonth=false needContinuousLeadFutureOnly=false newsSource=null Legs=null Special Info=null,transmit=true,combo=null] 2017-04-05 17:09:33.549 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:DET] [40;198;0;EURUSD;STK;null;0;2;null;SMART;null;USD;null;null;NULL;null;1;10000;MKT;Default;1.7976931348623157E308;Default;1.7976931348623157E308;1.7976931348623157E308;1.7976931348623157E308;1;DU647692.;true;0;null;ExpireDateTime [null];Reduce on Fill without Block;null;false;null;null;None;1.7976931348623157E308;1.7976931348623157E308;1.7976931348623157E308;SweepToFill=false;BlockOrder=false;Volatility=1.7976931348623157E308;OutsideRth=true;ContinuousUpdate=false;StartingPrice=1.7976931348623157E308;TriggerMethod=Default;NotHeld=false;OptionAcctAttrib=c;Hidden=false;DeltaNeutralAuxPrice=1.7976931348623157E308;OpenCloseAttrib=O;StockRefPrice=1.7976931348623157E308;DeltaNeutralOrderType=None;AllOrNone=false;ETradeOnly=true;VolatilityType=None;MinimumQuantity=2147483647;NbboPriceCap=1.7976931348623157E308;StockRangeLower=1.7976931348623157E308;OptOutSmartRouting=false;Clearing=null/IB;ReferencePriceType=None;DisplaySize=2147483647;PercentOffset=1.7976931348623157E308;StockRangeUpper=1.7976931348623157E308;FirmQuoteOnly=true;Delta=1.7976931348623157E308] 2017-04-05 17:09:33.549 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:DET] Start validating message: 2017-04-05 17:09:33.549 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:DET] Finished validating message: 2017-04-05 17:09:33.549 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:DET] Started processing message: 2017-04-05 17:09:33.549 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:INFO] Placing orderId - 198 2017-04-05 17:09:33.549 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:INFO] Processing of order {198} completed. 2017-04-05 17:09:33.549 [BV] INFO [JTS-EServerSocket-679] - [9368395:62:76:1:0:0:0:DET] Finished processing message: 2017-04-05 17:09:33.711 [BV] INFO [JTS-CCPDispatcherS2-34] - [9368395:62:76:1:0:4:2:DET] Sending error. 2017-04-05 17:09:33.711 [BV] INFO [JTS-CCPDispatcherS2-34] - [9368395:62:76:1:0:4:2:DET] [4;2;198;200;No security definition has been found for the request] 2017-04-05 17:09:33.711 [BV] INFO [JTS-CCPDispatcherS2-34] - [9368395:62:76:1:0:4:2:DET] Error sent. 5. the following info gathered from Sierra's log window Symbol Error - (unknown symbol with ID 198) is unknown, unavailable, or improperly formatted. | 2017-04-05 10:09:32 6. The above leads to the conclusion that Sierra contructs a defective message (carrying the trading order) for TWS causing TWS to reject the trading order. TWS returns an error message to Sierra (we can see the same ID and time stamp) below you can find a snippet from an email sent to me by IB support Inline image 1 Inline image 2 ======================================================================== If my code should be corrected - pls let me know - i'll be happy to correct whatever is required I have invested a lot of money and many months to develop my software relying on Sierra ... I hope we agree that this should be handled. The missing snippet of ib support email --------------------------------------- IB API Services 9:10 PM (1 hour ago) to me Dear Mr. Persky, The TWS log file indicates that TWS is receiving contracts with the 'secType' field set to 'STK' rather than 'CASH', the exchange as 'SMART' rather than 'IDEALPRO', and the symbol as 'EURUSD' rather than 'EUR'. This contract would need to be defined and sent differently from Sierra Charts in order to be properly read from the TWS API. \ Sierra Chart Support Date Time Of Last Edit: 2017-04-06 06:48:40
|
[2017-04-06 07:22:49] |
Sierra Chart Engineering - Posts: 104368 |
This is pending follow-up and there are some things we want to test. We thought we made it clear that you are using the wrong symbol. Do not set this: pstn_order.Symbol = "EUR.USD-CASH-IDEALPRO"; // as defined fro IB symbols And you need to change the symbol of the chart to: EUR.USD-CASH-IDEALPRO Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2017-04-06 12:04:24] |
jizzary - Posts: 177 |
>> Do not set this: >> pstn_order.Symbol = "EUR.USD-CASH-IDEALPRO"; // as defined fro IB symbols Ok. set to be a comment >> And you need to change the symbol of the chart to: >> EUR.USD-CASH-IDEALPRO Ok ... this is the field "Trade and Current Quote Symbol" ... got it awaiting yr test results tnx Date Time Of Last Edit: 2017-04-06 12:08:46
|
[2017-04-06 17:12:13] |
Sierra Chart Engineering - Posts: 104368 |
You need to set the main symbol of the chart to EUR.USD-CASH-IDEALPRO. The version you are running is not going to properly support that symbol in the Trade and Current Quote Symbol field in the way that you are intending to use it. Update to the current version of Sierra Chart: Software Download: Fast Update Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2017-04-06 21:48:11] |
Sierra Chart Engineering - Posts: 104368 |
1. I have set the new_order.symbol to be sc.Symbol and the message which u asked me not to bother you was gone. this info may assist other Sierra's users This has been tested and there is no problem. It does not have any effect doing this but do not set the Symbol member unless you are intending to trade a different symbol. The chart should be set to the symbol you want to trade. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2017-04-06 21:48:35
|
To post a message in this thread, you need to log in with your Sierra Chart account: