Source code for tradeexecutor.state.position_internal_share_price
"""Running state for position internal share price tracking.
This module provides data structures for tracking share price state
incrementally on each trade, rather than recalculating from scratch.
"""
import datetime
from dataclasses import dataclass
from dataclasses_json import dataclass_json