PDA

View Full Version : How to accomplish orifinal commitmant for NT


werosen
12-18-2005, 05:12 AM
On Sun Dec 11th, 2005 I wrote:

"I would also like to confirm that your website's statement, "Your pre-defined strategy will execute and submit your exit orders once your entry order is partially filled.", means:

That if you get a partial fill, say 3 contracts on a 5 contract order, that the Profit/Loss brackets defined in the ASM strategy will be immediately placed for those 3, and then additional exit orders will be placed as the other 2 contracts when they are filled.

Further, If a send a cancel command on the order ID (not Flatten) for the 2 contracts that have not yet been filled, will the brackets stay in place for the 3 contracts that are still in play?"

You responded on Sun Dec 11th, 2005 with:

"You are completely correct in your understanding.

Ray"

Please advise how I can,

send a cancel command on the order ID (not Flatten) for the 2 contracts that have not yet been filled,and havethe brackets stay in place for the 3 contracts that are still in play,

As per your confirmation to my question.

NinjaTrader_Ray
12-19-2005, 02:46 AM
You have to submit an orderId with the original order placement command. Then send a cancel command referencing this orderId. Here is the catch....This does not work as it is suppose to. Will be fixed in next update.

werosen
12-19-2005, 03:23 AM
The documentation for the 'Simulator Tab' says:






Enforce partial fills


Enables or disables the forcing of partial fills on each order. If enabled, orders will always get filled with partial fills.


I have this enabled, but when I place a 5 contract order through the ATI, it fills all 5 contracts.

I need this to work as documented to test the cancellation of a partially filled order.

Please advise.

NinjaTrader_Ray
12-19-2005, 03:34 AM
"Always get 'filled' with partial fills"

This means that the order will FILL completely with partial fills. It does NOT mean that it will only be partially filled.

Ray

werosen
12-19-2005, 03:39 AM
The Orders tab shows that there was only one fill for 5 contracts.

werosen
12-19-2005, 03:39 AM
The Orders tab shows that there was only one fill for 5 contracts.

NinjaTrader_Ray
12-19-2005, 03:46 AM
1) What are you connected to
2) What type of order and market, buy or sell
3) What function/command was used?

werosen
12-19-2005, 04:13 AM
Since I cannot test a partially filled order, having submitted 1 for 1000 contracts and it fills them all on 1 line, I no longer am dealing with this as it has no use for me.

Since you are going to correct the improperly functioning:

"You have to submit an orderId with the original order placement command. Then send a cancel command referencing this orderId. Here is the catch....This does not work as it is suppose to. Will be fixed in next update."

Please also allow the use of the NTOrderStatus() function when using an orderID and passing a strategy template name and strategyIdthrough the ATI. Not knowing what NT is doing with open orders creates problems in the trade management logic in the efs file and assumptions must be made that may not be true. A very dangerous situation

Thanks

werosen
12-19-2005, 05:08 AM
Ok, I've completed my code inan .efs filefor the DLL ATI interface from myeSignalchart after figuring out the work-arounds and the tricks needed to deal with nonfunctional code in NT. All the code appears torun fine on the NT Simulated Data Field. Since all the code cannot be tested without running on a live data feed in NT,I'm at the point where I need to be able to run the code in real-time on live market pricing data.

I am an eSignal subscriber and my broker is Alaron.

What do I need to do to have an account running in NT with Live market price data to test the code in real-time before trading real money?

NinjaTrader_Ray
12-19-2005, 05:51 AM
Connect to Alaron and send orders to the Sim101 account.