nautilus_trader icon indicating copy to clipboard operation
nautilus_trader copied to clipboard

Allow _get_last_price() to use bars if quote ticks are not subscribed

Open pcgm-team opened this issue 1 year ago • 0 comments

Quote tick subscriptions are not always necessary (or available) yet features such as net exposures and unrealized_pnl depend on either quote or trade tick subscriptions to function.

This should be changed to use the most recent bar price in the event that no quote ticks are subscribed.

pcgm-team avatar Jan 30 '24 18:01 pcgm-team