Automated order rejected-"TIF unspecified" error  [SOLVED]

Questions about MultiCharts and user contributed studies.
ADG88
Posts: 27
Joined: 11 Oct 2013
Has thanked: 9 times

Automated order rejected-"TIF unspecified" error

Postby ADG88 » 11 Oct 2013

Hello,

I advance I'm inexperienced with Multicharts, so excuse me for the trivial question.
I'm trying to automate a trading strategy with my IB simulated account, but the order sent by the strategy are rejected because TIF is not specified.
If I try to trade manually the order are executed and I have no problem.
Thanks for the attention and help me, please.

Bye
Attachments
Screenshot2.png
(524.74 KiB) Downloaded 689 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Automated order rejected-"TIF unspecified" error

Postby Henry MultiСharts » 11 Oct 2013

Hello ADG88,

As I can see you are using a custom futures instrument. Please add the current futures contract you are going to trade from the data provider:
In QuoteManager please go to Instrument tab->Add symbol->From data source-> IB.
Once the symbol is added please setup the symbol mapping between the custom futures and the current futures contract.

ADG88
Posts: 27
Joined: 11 Oct 2013
Has thanked: 9 times

Re: Automated order rejected-"TIF unspecified" error

Postby ADG88 » 15 Oct 2013

Hello Henry,

Thank you for your timely reply; but I'm still making some mistake. I've added the futures contract I will trade and setted the "Symbol mapping" between the custum futures and the current futures contract; but it still does not work.
I've also another problem now; I do not understand why in the charts I get lost the intraday data for the last two days only.
I'm sorry for the nuisance and thank you very much.
Attachments
screenshot7.jpg
(662.14 KiB) Downloaded 662 times

ADG88
Posts: 27
Joined: 11 Oct 2013
Has thanked: 9 times

Re: Automated order rejected-"TIF unspecified" error

Postby ADG88 » 15 Oct 2013

Hello Henry,

Thank you for your timely reply. I've tried to do what you suggested me; I've added the futures contract to the quote manager and the I've setted the symbol mapping between the custum futures and the current futures contract, but It still does not work.
I've also have another problem now, in the charts I get lose the intraday data for the last 2 days and I don't understand why.
Below the screenshots.
I apologize for the inconvenience, thank you very much.
Attachments
Screenshot3.png
(263.63 KiB) Downloaded 684 times
Screenshot4.png
(379.19 KiB) Downloaded 674 times

ADG88
Posts: 27
Joined: 11 Oct 2013
Has thanked: 9 times

Re: Automated order rejected-"TIF unspecified" error

Postby ADG88 » 15 Oct 2013

Below the screenshots
Attachments
Screenshot5.jpg
(631.87 KiB) Downloaded 683 times
Screenshot5.jpg
(631.87 KiB) Downloaded 668 times

ADG88
Posts: 27
Joined: 11 Oct 2013
Has thanked: 9 times

Re: Automated order rejected-"TIF unspecified" error

Postby ADG88 » 15 Oct 2013

Below the screenshot
Attachments
screenshot6.jpg
(639.08 KiB) Downloaded 671 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Automated order rejected-"TIF unspecified" error  [SOLVED]

Postby Henry MultiСharts » 16 Oct 2013

In the window you have captured on Screenshot5.jpg please manually set the correct expiration date (that you have on Screenshot3.png). Then copy/paste your existing chart.


Return to “MultiCharts”