Hi Everyone
At 9:31EST on 2017-01-04 I put in a limit order to buy CTSH at 56.61.
The open, high, low, close, vol, adj_close for CTSH on that date is:
2017-01-04 56.48 57.400002 56.200001 57.32 3572400 56.512562
The opening order and subsequent cancel of the order is shown below.
Does anyone know what price is used for a fill?
Is it data.current(stock, 'price') or data.current(stock, 'close')?
Any insight on how to determine what price in each minute bar is used to fill a buy order and sell order is very much appreciated.
Kind regards and a pleasant weekend
Savio
2017-01-04 09:31 handle_data:41 INFO Stk: Equity(18870 [CTSH]) Shares: 700 Limit Price: 56.61 Open: 56.48
2017-01-04 16:00 WARN Your order for 700 shares of CTSH failed to fill by the end of day and was canceled.
End of logs.