Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Is it possible to enforce full fills in NT?
Collapse
X
-
alex,
You can do this as part of the simulator but it wouldn't work the same with a live account.
Enforce partial fills
Enables or disables the forcing of partial fills on each order. If enabled, orders will always get filled with partial fills. When disabled orders are filled completely or partially depending on trade volume.
This setting can be found in the Tools > Options menu.Adam P.NinjaTrader Customer Service
-
I´m trying to enforce partial filled, I have set the Tools -> Options -> Simulator already and the orders keep getting complete filled.
I set the quantity of my EnterLongStopLimit to 999.999 and set the stop and limit to the same value even thought I can´t get partial filled.
what em I missing?
Comment
-
I can't see how that link explains my question.
I set a debug variable in the initialize method and I sow the order get partial filled, but it takes about half a second to be complete filled even thought I set a very high value, shouldn't it stop on a partial filled instead of go all the way to filled when I set the "Enforce partial fills"?
Comment
-
NinjaTrader_PatrickY
Hello,
Thank you for the reply.
The link that was provided in the previous post was to inform you how fill partial works.
To directly answer your question as stated from the post from NinjaTrader_AdamP, checking the Enforce partial fills is used with the Sim101 account not with live account. Enabling Enforce partial fills does not prevent the order from completely filling. The order will fill completely, however, it fills in partial filled increments. This allow partial fills to be simulated with the Sim101 account to let you design your code to handle partial fills correctly and to have the logic perform correctly when experiencing orders that are filled in partial fills.
Don't hesitate to contact us with any other NinjaTrader items we may assist with.
Comment
-
ok, thanks, now i got it. I even thought my installation was broken or something, but then its fine.
Is there a way to better control or force partial fills, something like a variable i can use to prevent ninja to completely fill the order?
PS: Thanks again.
Comment
-
NinjaTrader_PatrickY
Hello,
Thank you for the reply.
To prevent an order to be fully filled, a submitted quantity would require that a cancel order is sent at exactly the right time after a partial fill. After the partial is filled, the order would need to be cancelled before there are enough market volume to continue filling the order. If another partial fill occurs after the cancellation is sent, this will result in an overfill. It is difficult to not cause an overfill when cancelling the remaining quantity of an order after a partial fill.
Don't hesitate to contact us with any other NinjaTrader items we may assist with.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by zstheorist, Today, 07:52 PM
|
0 responses
3 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
149 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
5 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
5 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
Comment