A description of the program I need.
The program needs to be able to communicate with the interactive trading platform or tws . (www.interactivebrokers.com.
The trading has to be between 2 future contracts from different exchanges ( both on the tws). For example Eurostock 50 future and the cac 40 future.
The trading program needs to be activated when there is a predetermined precentage difference
between the two. ( for example when the percentage difference is bigger/smaller than 0.5 percent it should trade against this difference. Sell the higher change and buy the lower or the opposite). And close the trade when the difference is almost gone. The percentage which activates the trade should be adjustable.
When the percentage difference gets bigger/smaller than 0.5 percent, lets say to 0. 8 there should be a possibility for a second trade.
Also a possibility to put a stop loss amount.
The interface must be easy to use.