code: def __init__(
      self,
      asset,
      amount=0,
      cost_basis=0.0,
      last_sale_price=0.0,
      last_sale_date=None,
  ):
      inner = zp.InnerPosition(
          asset=asset,
          amount=amount,
          cost_basis=cost_basis,
          last_sale_price=last_sale_price,
          last_sale_date=last_sale_date,
      )
      object.__setattr__(self, "inner_position", inner)
      object.__setattr__(self, "protocol_position", zp.Position(inner))
  
file_path: zipline/zipline/finance/position.py
imports: from __future__ import division
  from math import copysign
  import numpy
  import logbook
  from zipline.assets import Future
  import zipline.protocol
label_desc: Use image node_id 1 to create a new Position object from inherited base classes: object with example: obj = Position(asset, amount, cost_basis, last_sale_price, last_sale_date)