S
sudhakar t
Hi,
I am building a Risk Management utility for IB TWS and am facing the
following issue:
i) I have to disable the IB software once a drawdown limit is reached.
The issue I am having is this:
The user will be using IB manually - meaning will transmit the order
manually. At this point, I have to either allow or deny the order to be
transmitted based the dollar amount of the order.
To be able to do this I either need to override the IB Transmit method;
or have access to an event that will be fired BEFORE the system actually
transmits the order.
In the latter case, I will write some messaging code to transmit the
event back to my Risk Management system.
M problem is that I am unable to find any relevant event or find a way
to override the Transmit method.
Am I in the right direction? Is there a way to achieve this? Any help on
this will be greatly appreciated.
I look forward to your help.
I am building a Risk Management utility for IB TWS and am facing the
following issue:
i) I have to disable the IB software once a drawdown limit is reached.
The issue I am having is this:
The user will be using IB manually - meaning will transmit the order
manually. At this point, I have to either allow or deny the order to be
transmitted based the dollar amount of the order.
To be able to do this I either need to override the IB Transmit method;
or have access to an event that will be fired BEFORE the system actually
transmits the order.
In the latter case, I will write some messaging code to transmit the
event back to my Risk Management system.
M problem is that I am unable to find any relevant event or find a way
to override the Transmit method.
Am I in the right direction? Is there a way to achieve this? Any help on
this will be greatly appreciated.
I look forward to your help.