Page 1 of 1

How to set the "Hidden" option for an order which is sent to TWS in MT-IB-copier.

Posted: Tue Aug 25, 2020 2:26 pm
by BohdanPawluk
Good Morning,
Can you please tell me where I can set the Flag to "Hide" the order which is sent to TWS.
Is there a function to do this? or do I have to change a setting in a setup file?

Thank you.
Bohdan

Re: How to set the "Hidden" option for an order which is sent to TWS in MT-IB-copier.

Posted: Tue Aug 25, 2020 2:49 pm
by board_admin
Hello,
you can set this in api setup xml file. (Usually let all by default;make only changes you really understand meaning and impact. Thank you)
Close the copier.
Go to folder:

Code: Select all

C:\Program Files\trade-commander.com\MTIB Order Copier\xml
Open file

Code: Select all

api.xml 
in an editor (notepad).
Search tag (Category: Order Presets)

Code: Select all

<e t="Hidden flag default" id="4" def="0" type="b" comment="">0</e>
set it to

Code: Select all

<e t="Hidden flag default" id="4" def="0" type="b" comment="">1</e>
So change value from 0 to 1.

Re: How to set the "Hidden" option for an order which is sent to TWS in MT-IB-copier.

Posted: Tue Aug 25, 2020 4:48 pm
by BohdanPawluk
Thank you.