nautilus_trader
nautilus_trader copied to clipboard
Allow _get_last_price() to use bars if quote ticks are not subscribed
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.