I am using 7B6. $AUDUSD, 5 min. I have downloaded market replay data from NT servers. 5/01/2010 - 7/01/2010. Acoount: Replay101.
I am trying to run my strategy that uses custom order handling. Some orders (like initial entry) $80000 and some stop Orders filled ok - at once.
But when I set Limit order for $40000 ( half position ) and price touches it it fills with $1 many many times. So basically Ninja is trying to fill it by partial fills with $1 each time. and it creates a bunch of trades ( 40,000 ?
). I tried to tweak some parameters like Enforce immediate files, etc. Nothing helps.
Please advise me.
Here is some from Log:
7/01/2010 11:26 PM Position Instrument='$AUDUSD' Account='Replay101' Avg price=0.913850000625 Quantity=79,994 Market position=Short Operation=Update Currency=Unknown
7/01/2010 11:26 PM Execution Execution='6035d5f2db3a437d8d5978eb4f58f678' Instrument='$AUDUSD' Account='Replay101' Exchange=Default Price=0.91225 Quantity=1 Market position=Long Operation=Insert Order='79c2a88a0eed49e29356f7f875a56176' Time='6/01/2010 4:45:15 AM' Multiplier=1E-05
7/01/2010 11:26 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=PartFilled Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=6 Fill price=0.91225 Error=NoError Native error=''
7/01/2010 11:26 PM Position Instrument='$AUDUSD' Account='Replay101' Avg price=0.913850000625 Quantity=79,995 Market position=Short Operation=Update Currency=Unknown
7/01/2010 11:26 PM Execution Execution='5f18c221459f42128f1869bc28f78839' Instrument='$AUDUSD' Account='Replay101' Exchange=Default Price=0.91225 Quantity=1 Market position=Long Operation=Insert Order='79c2a88a0eed49e29356f7f875a56176' Time='6/01/2010 4:45:12 AM' Multiplier=1E-05
7/01/2010 11:26 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=PartFilled Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=5 Fill price=0.91225 Error=NoError Native error=''
7/01/2010 11:26 PM Position Instrument='$AUDUSD' Account='Replay101' Avg price=0.913850000625 Quantity=79,996 Market position=Short Operation=Update Currency=Unknown
7/01/2010 11:26 PM Execution Execution='056934477f584b8795c62ef8544aa32e' Instrument='$AUDUSD' Account='Replay101' Exchange=Default Price=0.91225 Quantity=1 Market position=Long Operation=Insert Order='79c2a88a0eed49e29356f7f875a56176' Time='6/01/2010 4:45:12 AM' Multiplier=1E-05
7/01/2010 11:26 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=PartFilled Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=4 Fill price=0.91225 Error=NoError Native error=''
7/01/2010 11:26 PM Position Instrument='$AUDUSD' Account='Replay101' Avg price=0.913850000625 Quantity=79,997 Market position=Short Operation=Update Currency=Unknown
7/01/2010 11:26 PM Execution Execution='846fd72d8ed0432a90ff475d67269aac' Instrument='$AUDUSD' Account='Replay101' Exchange=Default Price=0.91225 Quantity=1 Market position=Long Operation=Insert Order='79c2a88a0eed49e29356f7f875a56176' Time='6/01/2010 4:45:11 AM' Multiplier=1E-05
7/01/2010 11:26 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=PartFilled Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=3 Fill price=0.91225 Error=NoError Native error=''
7/01/2010 11:26 PM Position Instrument='$AUDUSD' Account='Replay101' Avg price=0.913850000625 Quantity=79,998 Market position=Short Operation=Update Currency=Unknown
7/01/2010 11:26 PM Execution Execution='0e62e338a42141cc8fad3b6c12f780c3' Instrument='$AUDUSD' Account='Replay101' Exchange=Default Price=0.91225 Quantity=1 Market position=Long Operation=Insert Order='79c2a88a0eed49e29356f7f875a56176' Time='6/01/2010 4:45:11 AM' Multiplier=1E-05
7/01/2010 11:26 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=PartFilled Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=2 Fill price=0.91225 Error=NoError Native error=''
7/01/2010 11:26 PM Order Order='a93dd70216664000a28bb27e4a3f4837/Replay101' Name='STOP.S' New state=Accepted Instrument='$AUDUSD' Action=BuyToCover Limit price=0 Stop price=0.91445 Quantity=79,998 Type=Stop Filled=0 Fill price=0 Error=NoError Native error=''
7/01/2010 11:26 PM Order Order='a93dd70216664000a28bb27e4a3f4837/Replay101' Name='STOP.S' New state=PendingChange Instrument='$AUDUSD' Action=BuyToCover Limit price=0 Stop price=0.91445 Quantity=79,998 Type=Stop Filled=0 Fill price=0 Error=NoError Native error=''
7/01/2010 11:26 PM Position Instrument='$AUDUSD' Account='Replay101' Avg price=0.913850000625 Quantity=79,999 Market position=Short Operation=Update Currency=Unknown
7/01/2010 11:26 PM Execution Execution='f5082f4d985543ba8ed4ea6700982655' Instrument='$AUDUSD' Account='Replay101' Exchange=Default Price=0.91225 Quantity=1 Market position=Long Operation=Insert Order='79c2a88a0eed49e29356f7f875a56176' Time='6/01/2010 4:45:11 AM' Multiplier=1E-05
7/01/2010 11:26 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=PartFilled Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=1 Fill price=0.91225 Error=NoError Native error=''
7/01/2010 11:24 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=Working Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
7/01/2010 11:24 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=Accepted Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
7/01/2010 11:24 PM Order Order='79c2a88a0eed49e29356f7f875a56176/Replay101' Name='LIMIT.S' New state=PendingSubmit Instrument='$AUDUSD' Action=BuyToCover Limit price=0.91225 Stop price=0 Quantity=0.04M Type=Limit Filled=0 Fill price=0 Error=NoError Native error=''
7/01/2010 11:24 PM Order Order='a93dd70216664000a28bb27e4a3f4837/Replay101' Name='STOP.S' New state=Accepted Instrument='$AUDUSD' Action=BuyToCover Limit price=0 Stop price=0.91445 Quantity=0.08M Type=Stop Filled=0 Fill price=0 Error=NoError Native error=''
7/01/2010 11:24 PM Order Order='a93dd70216664000a28bb27e4a3f4837/Replay101' Name='STOP.S' New state=PendingSubmit Instrument='$AUDUSD' Action=BuyToCover Limit price=0 Stop price=0.91445 Quantity=0.08M Type=Stop Filled=0 Fill price=0 Error=NoError Native error=''
7/01/2010 11:24 PM Position Instrument='$AUDUSD' Account='Replay101' Avg price=0.913850000625 Quantity=0.08M Market position=Short Operation=Update Currency=Unknown
7/01/2010 11:24 PM Execution Execution='0612d9632e12480ead9e2c64683099a8' Instrument='$AUDUSD' Account='Replay101' Exchange=Default Price=0.91385 Quantity=79,999 Market position=Short Operation=Insert Order='de7a2014808c43a994b6eb7bfa099718' Time='6/01/2010 4:05:08 AM' Multiplier=1E-05
7/01/2010 11:24 PM Order Order='de7a2014808c43a994b6eb7bfa099718/Replay101' Name='TRADE' New state=Filled Instrument='$AUDUSD' Action=SellShort Limit price=0 Stop price=0.91395 Quantity=0.08M Type=Stop Filled=80000 Fill price=0.913850000625 Error=NoError Native error=''
7/01/2010 11:24 PM Position Instrument='$AUDUSD' Account='Replay101' Avg price=0.9139 Quantity=1 Market position=Short Operation=Insert Currency=Unknown
7/01/2010 11:24 PM Execution Execution='aaece091420d41e2abb76e6c7dbda7d3' Instrument='$AUDUSD' Account='Replay101' Exchange=Default Price=0.9139 Quantity=1 Market position=Short Operation=Insert Order='de7a2014808c43a994b6eb7bfa099718' Time='6/01/2010 4:05:08 AM' Multiplier=1E-05
7/01/2010 11:24 PM Order Order='de7a2014808c43a994b6eb7bfa099718/Replay101' Name='TRADE' New state=PartFilled Instrument='$AUDUSD' Action=SellShort Limit price=0 Stop price=0.91395 Quantity=0.08M Type=Stop Filled=1 Fill price=0.9139 Error=NoError Native error=''
7/01/2010 11:24 PM Order Order='de7a2014808c43a994b6eb7bfa099718/Replay101' Name='TRADE' New state=Working Instrument='$AUDUSD' Action=SellShort Limit price=0 Stop price=0.91395 Quantity=0.08M Type=Stop Filled=0 Fill price=0 Error=NoError Native error=''
and here is from Output window:
MRP 1 CurrentBar 1043 Stop 0.91445
OPEN SHORT 80000 Price = 0.91395
6/01/2010 4:05:07 AM Entered internal PlaceOrder() method at 6/01/2010 4:05:07 AM: Action=SellShort OrderType=Stop Quantity=0.08M LimitPrice=0 StopPrice=0.9139'5 SignalName='TRADE' FromEntrySignal=''
SET STOP SHORT 80000 Price = 0.91445
6/01/2010 4:05:08 AM Entered internal PlaceOrder() method at 6/01/2010 4:05:08 AM: Action=BuyToCover OrderType=Stop Quantity=0.08M LimitPrice=0 StopPrice=0.9144'5 SignalName='STOP.S' FromEntrySignal='TRADE'
SET LIMIT SHORT 40000 Price = 0.91225
6/01/2010 4:05:08 AM Entered internal PlaceOrder() method at 6/01/2010 4:05:08 AM: Action=BuyToCover OrderType=Limit Quantity=0.04M LimitPrice=0.9122'5 StopPrice=0 SignalName='LIMIT.S' FromEntrySignal='TRADE'
6/01/2010 4:45:11 AM Amended pending exit order, since associated position is closed: Order='a93dd70216664000a28bb27e4a3f4837/Replay101' Name='STOP.S' State=Accepted Instrument='$AUDUSD' Action=BuyToCover Limit price=0 Stop price=0.91445 Quantity=0.08M Strategy='AAADogScore' Type=Stop Tif=Gtc Oco='' Filled=0 Fill price=0 Token='a93dd70216664000a28bb27e4a3f4837' Gtd='1/12/2099 12:00:00 AM'

Comment