I was testing out the SampleAtmStrategy provided on NKD futures but something look amiss. It executed by buying 1 contract of NKD and once the order is filled, I was expecting the output file to start displaying marketposition long, position quantity 1, and start tracking the unrealized P&L. But all it shows is 0,0,0,0.
I use the script as it is and did not change anything.
__________________________________________________ ___________
Output
**NT** Submitting order with strategy 'SampleAtmStrategy/3c6b766c7a784a13acee530dd057271d'
The entry order average fill price is: 0
The entry order filled amount is: 0
The entry order order state is: PendingSubmit
The current ATM Strategy market position is: Flat
The current ATM Strategy position quantity is: 0
The current ATM Strategy average price is: 0
The current ATM Strategy Unrealized PnL is: 0
The entry order average fill price is: 0
The entry order filled amount is: 0
The entry order order state is: Working
The current ATM Strategy market position is: Flat
The current ATM Strategy position quantity is: 0
The current ATM Strategy average price is: 0
The current ATM Strategy Unrealized PnL is: 0
The entry order average fill price is: 19850
The entry order filled amount is: 1
The entry order order state is: Filled
The current ATM Strategy market position is: Flat
The current ATM Strategy position quantity is: 0
The current ATM Strategy average price is: 0
The current ATM Strategy Unrealized PnL is: 0

Comment