A Python library for trading entities: actions, positions, and OHLCV data structures.
pip install git+https://github.com/the-sentio/entity.gitfrom entity import Action, PositionSide, OHLCV
# Example usage
print(Action.Buy)
print(PositionSide.LONG)
print(OHLCV("AAPL", 1692547200000, 100.0, 110.0, 95.0, 105.0))