# Need some time stamps in position object

**URL:** <https://forum.alpaca.markets/t/need-some-time-stamps-in-position-object/4533>\
**Category:** Alpaca Trading\
**Created:** [February 19, 2021, 7:47pm UTC](https://forum.alpaca.markets/t/need-some-time-stamps-in-position-object/4533 "2021-02-19T19:47:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xsiboss](https://avatars.discourse-cdn.com/v4/letter/x/977dab/32.png) [@xsiboss](https://forum.alpaca.markets/u/xsiboss)\
**Post date:** [February 19, 2021, 7:47pm UTC](https://forum.alpaca.markets/t/need-some-time-stamps-in-position-object/4533/1 "2021-02-19T19:47:54Z")

</div>

In position object entity, there’s no such data like first opened and/or last filled date and time.  
I need to calculate something from this info for each open position when I newly launch my program and get the open position in the beginning.  
Could you please add those info or provide me a way to get those info other ways?

---

<div class="post-metadata">

**Author:** ![Jason\_Toms](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/jason_toms/32/2086_2.png) [@Jason\_Toms](https://forum.alpaca.markets/u/Jason_Toms)\
**Post date:** [February 20, 2021, 4:00pm UTC](https://forum.alpaca.markets/t/need-some-time-stamps-in-position-object/4533/2 "2021-02-20T16:00:11Z")

</div>

var positionOrders = orders  
.Where(order =\> order.Symbol == position.Symbol && order.FilledAtUtc != null)  
.TakeWhile((order, current) =\> order.OrderSide == OrderSide.Buy || !current.Any());

loop through updating a dictionary storing the oldest value, until I hit the a sell order with the same symbol.
