real_trader/src/local_position.py
2025-05-09 18:31:41 +08:00

6 lines
198 B
Python

class LocalPosition:
def __init__(self, code, total_amount, closeable_amount):
self.code = code
self.total_amount = total_amount
self.closeable_amount = closeable_amount