Determine TIF of order from code (GTC / Day)

Questions about MultiCharts and user contributed studies.
kagein
Posts: 55
Joined: 12 Oct 2017
Has thanked: 16 times
Been thanked: 10 times

Determine TIF of order from code (GTC / Day)

Postby kagein » 09 Jul 2019

Hi,

Is it possible to determine the TIF of an order (GTC / DAY ) from the code rather than use general settings for all orders on the charts?

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

Re: Determine TIF of order from code (GTC / Day)

Postby Henry MultiСharts » 09 Jul 2019

Hi,

TIF for the auto trading orders can be specified only via the auto trading plugin settings, not from the code.

kagein
Posts: 55
Joined: 12 Oct 2017
Has thanked: 16 times
Been thanked: 10 times

Re: Determine TIF of order from code (GTC / Day)

Postby kagein » 09 Jul 2019

Can it be changed that all market orders are forced to use DAY for TIF. On the ICE exchange all market orders with TIF of GTC will be rejected. This isnt a problem on CME.

wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: Determine TIF of order from code (GTC / Day)

Postby wilkinsw » 10 Jul 2019

Agree with that. If my gtc stop order is being converted to market and then rejected by ice.... that will be an issue.

Having all market orders as day tif should have no side effects.

wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: Determine TIF of order from code (GTC / Day)

Postby wilkinsw » 20 Aug 2019

Any updates MC?

Can we make sure all orders converted to market orders by MC send Market with DAY TIF parameter please? That way I can use MC's convert to market functionality without getting rejected orders on ICE exchange.

Thanks,

Will

User avatar
Anna MultiCharts
Posts: 560
Joined: 14 Jul 2017
Has thanked: 42 times
Been thanked: 141 times

Re: Determine TIF of order from code (GTC / Day)

Postby Anna MultiCharts » 20 Aug 2019

Hello, wilkinsw, kagein!

As was mentioned earlier, TIFs are assigned by the broker profiles/plugins so changing the TIF for market orders cannot be done centrally for all brokers, and modifying this per each broker one by one will require considerable amount of resources. What broker profiles do you use to trade on the above mentioned exchanges?

wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: Determine TIF of order from code (GTC / Day)

Postby wilkinsw » 25 Nov 2019

Both Kagein and I are cqg users

wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: Determine TIF of order from code (GTC / Day)

Postby wilkinsw » 03 Dec 2019

Have emailed support.

Market orders should default to DAY regardless of TIF set for other order types. A patch for CQG would be very much appreciated and mean I can get some sleep. :wink:


Return to “MultiCharts”