def __init__(self, order_book_id):
    super(FuturePosition, self).__init__(order_book_id)
    self._buy_old_holding_list = []
    self._sell_old_holding_list = []
    self._buy_today_holding_list = []
    self._sell_today_holding_list = []
    self._buy_transaction_cost = 0.0
    self._sell_transaction_cost = 0.0
    self._buy_realized_pnl = 0.0
    self._sell_realized_pnl = 0.0
    self._buy_avg_open_price = 0.0
    self._sell_avg_open_price = 0.0
def __init__(self, order_book_id):
    super(FuturePosition, self).__init__(order_book_id)
    self._buy_old_holding_list = []
    self._sell_old_holding_list = []
    self._buy_today_holding_list = []
    self._sell_today_holding_list = []
    self._buy_transaction_cost = 0.0
    self._sell_transaction_cost = 0.0
    self._buy_realized_pnl = 0.0
    self._sell_realized_pnl = 0.0
    self._buy_avg_open_price = 0.0
    self._sell_avg_open_price = 0.0