Search found 151 matches

by board_admin
Sun Sep 30, 2018 2:18 pm
Forum: MTIBBridge MetaTrader-Interactive Brokers trade-copier
Topic: Bridge magic numbers filters
Replies: 6
Views: 51

Re: Bridge magic numbers filters

Sorry,
can you checkout this link:

https://trade-commander.com/download/1326/

Should be version 2567
by board_admin
Sat Sep 29, 2018 10:46 am
Forum: MTIBBridge MetaTrader-Interactive Brokers trade-copier
Topic: Bridge magic numbers filters
Replies: 6
Views: 51

Re: Bridge magic numbers filters

Hello,
can you please check an updated version:

https://trade-commander.com/mtibbridge/2057-2/

Thank you
by board_admin
Fri Sep 28, 2018 7:29 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Order setup
Replies: 5
Views: 47

Re: Order setup

Yes,
custom ref appened to standard ref. The ref is used to store uid. The uid is used to restore an order on restart / reconnect. TWSLink wont rely on permid here.
by board_admin
Thu Sep 27, 2018 1:33 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Order setup
Replies: 5
Views: 47

Re: Order setup

It is the standard ref. It also stores the uid of an order which is useful to recover order.
Also you know it was placed by TWSLink.
by board_admin
Thu Sep 27, 2018 10:27 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Order setup
Replies: 5
Views: 47

Re: Order setup

Without SET_ORDER_VAL this is not possible.
Just call PLACE_ORDER with transmit flag=-1 (so it goes not to IB).
Then use SET_ORDER_VAL to set the ref with transmit flag=1.

There is no information about twslink.xml. Normally no need to change it and also some parts may not have an impact at all.
by board_admin
Wed Sep 26, 2018 5:53 pm
Forum: MTIBBridge MetaTrader-Interactive Brokers trade-copier
Topic: SHARE /LOT PROBLEM with -1 value
Replies: 1
Views: 26

Re: SHARE /LOT PROBLEM with -1 value

Hello,
negative shares per lot factor to get fixed ordersize makes no sense in conjunction with ib_position_sync.
Because ib_position_sync itself calculates what size required in order to sync IB positions with MT positions.
by board_admin
Wed Sep 26, 2018 5:52 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: IBStarter Traders Workstation / Gateway Startup Automation Tool
Replies: 1
Views: 27

Re: IBStarter Traders Workstation / Gateway Startup Automation Tool

Hello,
unfortunately the IBStarter is no longer developped.

IBStarter used IBController. This free open source java tool can prevent TWS from logging off.
How to use this tool is explained in this tutorial:

https://trade-commander.com/disable-tws ... ic-logoff/
by board_admin
Thu Sep 20, 2018 5:54 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Link without IB API installation
Replies: 3
Views: 104

Re: Link without IB API installation

Hi,
you can just copy the DLL into Windows/system32 or Windows/syswow64. Depending where you need it.
But in this case, you can't use it as COM or ActiveX. Just as DLL. The setup also does a registration.
by board_admin
Mon Sep 17, 2018 12:39 pm
Forum: MTIBBridge MetaTrader-Interactive Brokers trade-copier
Topic: Fixed Size is possible?
Replies: 2
Views: 39

Re: Fixed Size is possible?

You can do this per symbol. On the contract page, double click on the contract you want to have a fix size for. In the upcoming dialog set the "shares per lot factor" to a negativ number equal to the size you like to have fix for this contract. For instance, if you like always 20, then set this fact...
by board_admin
Thu Sep 06, 2018 12:22 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Python 3.6 wrapper issue
Replies: 4
Views: 130

Re: Python 3.6 wrapper issue

Hello, i am sorry but you need to get familar with visual studio. I can't give support for Visual Studio here. The project setup is based on a python 3.6 installation on c:\python36 If your python is installed elsewhere, just change the project settings (include path and library linking) accordingly...
by board_admin
Wed Sep 05, 2018 6:23 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Link without IB API installation
Replies: 3
Views: 104

Re: Link without IB API installation

Hi, the API is only a protocol definition. Not more. Any API client, like TWSLink, connects per TCP/IP to TWS or Gateway and sends commands according this protocol. If the command you send via TCP/IP is not in line with what the protocol defines, TWS or gateway immediately closes connection. --- The...
by board_admin
Wed Sep 05, 2018 1:19 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Two machines with same code giving different return codes
Replies: 7
Views: 121

Re: Two machines with same code giving different return codes

I just made quick test:

Code: Select all

	int uid = REGISTER_CONTRACT("EUR", "CASH", "USD", "IDEALPRO", "", "", "", 0, "", 0, 0.0);
	int connected = CONNECT("", 7496, 1,20000);
	int uido = PLACE_ORDER(uid, 0, "BUY", "MKT", 100000, 0.0, 0.0, "DAY", 1, 0);
It works fine with TWS 972.1p on Windows 10 64 bit,
by board_admin
Wed Sep 05, 2018 12:52 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Python 3.6 wrapper issue
Replies: 4
Views: 130

Re: Python 3.6 wrapper issue

Hello, i downloaded the python wrapper project and opened it. The first thing was to upgrade the project to vc141. As platform i chosed Windows 8.1. I got similar errors like you because my python installation changed meanwhile. The point: You need to either adjust your python installation to match ...
by board_admin
Wed Sep 05, 2018 12:14 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Two machines with same code giving different return codes
Replies: 7
Views: 121

Re: Two machines with same code giving different return codes

Hello Rick, thank you for giving feedback. Good possible it is because of the version of TWS (and so API). Because TWSLink is no longer maintained, TWSLink still uses old API paradigma which will be sooner or later outdated by IB. Probably this is now the case with version 972 . But good possible yo...
by board_admin
Fri Aug 31, 2018 4:42 pm
Forum: MTIBBridge MetaTrader-Interactive Brokers trade-copier
Topic: tws automatic logoff
Replies: 1
Views: 58

Re: tws automatic logoff

What is IBGateway: The IB Gateway is a lightweighted tool used as a conjunction between Interactive Brokers and API clients like the bridge. Unlike TWS, the gateway is not closing itself. Once started it runs until closed. The gateway just provides minial functionality. You can't place orders or que...
by board_admin
Fri Aug 31, 2018 4:28 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Two machines with same code giving different return codes
Replies: 7
Views: 121

Re: Two machines with same code giving different return codes

What is different on those 2 machines ? (Same TWS,...)
What code (TWSLink function calls) is running ?
What does the logfiles tell ?

Logfiles are best place to get information.
(Usually located in C:\trade-commander\twslink2\log)
by board_admin
Wed Aug 15, 2018 2:16 pm
Forum: MTIBBridge MetaTrader-Interactive Brokers trade-copier
Topic: Problem with offset pips
Replies: 4
Views: 136

Re: Problem with offset pips

Hello,
thank you, there is a bug and it has been fixed.
New version:

http://trade-commander.com/download/1326/
by board_admin
Tue Aug 14, 2018 10:59 am
Forum: MTIBBridge MetaTrader-Interactive Brokers trade-copier
Topic: Problem with offset pips
Replies: 4
Views: 136

Re: Problem with offset pips

Can you tell me what IB symbol exactly used for your MT order ? So i can try to reproduce this.
Thank you
by board_admin
Wed Aug 08, 2018 7:27 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Market-on-Close (MOC) and Market-on-Open (MOO)
Replies: 2
Views: 270

Re: Market-on-Close (MOC) and Market-on-Open (MOO)

Hello Harrison,
its long time ago i made such order.

I am sorry, i don't know, if MOO or MOC is only possible with live account.
You need to ask IB support for this.

What is the problem when placing an MOO order ?