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

Discuss, post questions here about MTIBBridge the MetaTrader-Interactive Brokers trade-copier

Users who just registered, please write an email to
forum@trade-commander.de
with your username mentioned.
So we can distinguish you from bots.
Thank you
Post Reply
BohdanPawluk
Posts: 2
Joined: Tue Aug 25, 2020 2:13 pm

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

Post 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
Attachments
set hidden flag for order in TWS
set hidden flag for order in TWS
SetHiddenFlagForTWS.png (18.21 KiB) Viewed 14039 times

board_admin
Site Admin
Posts: 244
Joined: Mon Apr 24, 2017 3:24 pm

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

Post 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.


Post Reply