parameters: (self, account=None, currency=None, risk_limit=None, prev_state=None, state=None, action=None, amount=None, pending_credit=None, pending_debit=None, confirmed_debit=None, prev_realised_pnl=None, prev_unrealised_pnl=None, gross_comm=None, gross_open_cost=None, gross_open_premium=None, gross_exec_cost=None, gross_mark_value=None, risk_value=None, taxable_margin=None, init_margin=None, maint_margin=None, session_margin=None, target_excess_margin=None, var_margin=None, realised_pnl=None, unrealised_pnl=None, indicative_tax=None, unrealised_profit=None, synthetic_margin=None, wallet_balance=None, margin_balance=None, margin_balance_pcnt=0.0, margin_leverage=0.0, margin_used_pcnt=0.0, excess_margin=None, excess_margin_pcnt=0.0, available_margin=None, withdrawable_margin=None, timestamp=None, gross_last_value=None, commission=0.0)
docstring: Margin - a model defined in Swagger
docstring_summary: Margin - a model defined in Swagger
docstring_tokens: Margin - a model defined in Swagger
function: def __init__(self, account=None, currency=None, risk_limit=None, prev_state=None, state=None, action=None, amount=None, pending_credit=None, pending_debit=None, confirmed_debit=None, prev_realised_pnl=None, prev_unrealised_pnl=None, gross_comm=None, gross_open_cost=None, gross_open_premium=None, gross_exec_cost=None, gross_mark_value=None, risk_value=None, taxable_margin=None, init_margin=None, maint_margin=None, session_margin=None, target_excess_margin=None, var_margin=None, realised_pnl=None, unrealised_pnl=None, indicative_tax=None, unrealised_profit=None, synthetic_margin=None, wallet_balance=None, margin_balance=None, margin_balance_pcnt=0.0, margin_leverage=0.0, margin_used_pcnt=0.0, excess_margin=None, excess_margin_pcnt=0.0, available_margin=None, withdrawable_margin=None, timestamp=None, gross_last_value=None, commission=0.0):  # noqa: E501
          """Margin - a model defined in Swagger"""  # noqa: E501
  
          self._account = None
          self._currency = None
          self._risk_limit = None
          self._prev_state = None
          self._state = None
          self._action = None
          self._amount = None
          self._pending_credit = None
          self._pending_debit = None
          self._confirmed_debit = None
          self._prev_realised_pnl = None
          self._prev_unrealised_pnl = None
          self._gross_comm = None
          self._gross_open_cost = None
          self._gross_open_premium = None
          self._gross_exec_cost = None
          self._gross_mark_value = None
          self._risk_value = None
          self._taxable_margin = None
          self._init_margin = None
          self._maint_margin = None
          self._session_margin = None
          self._target_excess_margin = None
          self._var_margin = None
          self._realised_pnl = None
          self._unrealised_pnl = None
          self._indicative_tax = None
          self._unrealised_profit = None
          self._synthetic_margin = None
          self._wallet_balance = None
          self._margin_balance = None
          self._margin_balance_pcnt = None
          self._margin_leverage = None
          self._margin_used_pcnt = None
          self._excess_margin = None
          self._excess_margin_pcnt = None
          self._available_margin = None
          self._withdrawable_margin = None
          self._timestamp = None
          self._gross_last_value = None
          self._commission = None
          self.discriminator = None
  
          self.account = account
          self.currency = currency
          if risk_limit is not None:
              self.risk_limit = risk_limit
          if prev_state is not None:
              self.prev_state = prev_state
          if state is not None:
              self.state = state
          if action is not None:
              self.action = action
          if amount is not None:
              self.amount = amount
          if pending_credit is not None:
              self.pending_credit = pending_credit
          if pending_debit is not None:
              self.pending_debit = pending_debit
          if confirmed_debit is not None:
              self.confirmed_debit = confirmed_debit
          if prev_realised_pnl is not None:
              self.prev_realised_pnl = prev_realised_pnl
          if prev_unrealised_pnl is not None:
              self.prev_unrealised_pnl = prev_unrealised_pnl
          if gross_comm is not None:
              self.gross_comm = gross_comm
          if gross_open_cost is not None:
              self.gross_open_cost = gross_open_cost
          if gross_open_premium is not None:
              self.gross_open_premium = gross_open_premium
          if gross_exec_cost is not None:
              self.gross_exec_cost = gross_exec_cost
          if gross_mark_value is not None:
              self.gross_mark_value = gross_mark_value
          if risk_value is not None:
              self.risk_value = risk_value
          if taxable_margin is not None:
              self.taxable_margin = taxable_margin
          if init_margin is not None:
              self.init_margin = init_margin
          if maint_margin is not None:
              self.maint_margin = maint_margin
          if session_margin is not None:
              self.session_margin = session_margin
          if target_excess_margin is not None:
              self.target_excess_margin = target_excess_margin
          if var_margin is not None:
              self.var_margin = var_margin
          if realised_pnl is not None:
              self.realised_pnl = realised_pnl
          if unrealised_pnl is not None:
              self.unrealised_pnl = unrealised_pnl
          if indicative_tax is not None:
              self.indicative_tax = indicative_tax
          if unrealised_profit is not None:
              self.unrealised_profit = unrealised_profit
          if synthetic_margin is not None:
              self.synthetic_margin = synthetic_margin
          if wallet_balance is not None:
              self.wallet_balance = wallet_balance
          if margin_balance is not None:
              self.margin_balance = margin_balance
          if margin_balance_pcnt is not None:
              self.margin_balance_pcnt = margin_balance_pcnt
          if margin_leverage is not None:
              self.margin_leverage = margin_leverage
          if margin_used_pcnt is not None:
              self.margin_used_pcnt = margin_used_pcnt
          if excess_margin is not None:
              self.excess_margin = excess_margin
          if excess_margin_pcnt is not None:
              self.excess_margin_pcnt = excess_margin_pcnt
          if available_margin is not None:
              self.available_margin = available_margin
          if withdrawable_margin is not None:
              self.withdrawable_margin = withdrawable_margin
          if timestamp is not None:
              self.timestamp = timestamp
          if gross_last_value is not None:
              self.gross_last_value = gross_last_value
          if commission is not None:
              self.commission = commission
function_tokens: def __init__ ( self , account = None , currency = None , risk_limit = None , prev_state = None , state = None , action = None , amount = None , pending_credit = None , pending_debit = None , confirmed_debit = None , prev_realised_pnl = None , prev_unrealised_pnl = None , gross_comm = None , gross_open_cost = None , gross_open_premium = None , gross_exec_cost = None , gross_mark_value = None , risk_value = None , taxable_margin = None , init_margin = None , maint_margin = None , session_margin = None , target_excess_margin = None , var_margin = None , realised_pnl = None , unrealised_pnl = None , indicative_tax = None , unrealised_profit = None , synthetic_margin = None , wallet_balance = None , margin_balance = None , margin_balance_pcnt = 0.0 , margin_leverage = 0.0 , margin_used_pcnt = 0.0 , excess_margin = None , excess_margin_pcnt = 0.0 , available_margin = None , withdrawable_margin = None , timestamp = None , gross_last_value = None , commission = 0.0 ) : # noqa: E501 # noqa: E501 self . _account = None self . _currency = None self . _risk_limit = None self . _prev_state = None self . _state = None self . _action = None self . _amount = None self . _pending_credit = None self . _pending_debit = None self . _confirmed_debit = None self . _prev_realised_pnl = None self . _prev_unrealised_pnl = None self . _gross_comm = None self . _gross_open_cost = None self . _gross_open_premium = None self . _gross_exec_cost = None self . _gross_mark_value = None self . _risk_value = None self . _taxable_margin = None self . _init_margin = None self . _maint_margin = None self . _session_margin = None self . _target_excess_margin = None self . _var_margin = None self . _realised_pnl = None self . _unrealised_pnl = None self . _indicative_tax = None self . _unrealised_profit = None self . _synthetic_margin = None self . _wallet_balance = None self . _margin_balance = None self . _margin_balance_pcnt = None self . _margin_leverage = None self . _margin_used_pcnt = None self . _excess_margin = None self . _excess_margin_pcnt = None self . _available_margin = None self . _withdrawable_margin = None self . _timestamp = None self . _gross_last_value = None self . _commission = None self . discriminator = None self . account = account self . currency = currency if risk_limit is not None : self . risk_limit = risk_limit if prev_state is not None : self . prev_state = prev_state if state is not None : self . state = state if action is not None : self . action = action if amount is not None : self . amount = amount if pending_credit is not None : self . pending_credit = pending_credit if pending_debit is not None : self . pending_debit = pending_debit if confirmed_debit is not None : self . confirmed_debit = confirmed_debit if prev_realised_pnl is not None : self . prev_realised_pnl = prev_realised_pnl if prev_unrealised_pnl is not None : self . prev_unrealised_pnl = prev_unrealised_pnl if gross_comm is not None : self . gross_comm = gross_comm if gross_open_cost is not None : self . gross_open_cost = gross_open_cost if gross_open_premium is not None : self . gross_open_premium = gross_open_premium if gross_exec_cost is not None : self . gross_exec_cost = gross_exec_cost if gross_mark_value is not None : self . gross_mark_value = gross_mark_value if risk_value is not None : self . risk_value = risk_value if taxable_margin is not None : self . taxable_margin = taxable_margin if init_margin is not None : self . init_margin = init_margin if maint_margin is not None : self . maint_margin = maint_margin if session_margin is not None : self . session_margin = session_margin if target_excess_margin is not None : self . target_excess_margin = target_excess_margin if var_margin is not None : self . var_margin = var_margin if realised_pnl is not None : self . realised_pnl = realised_pnl if unrealised_pnl is not None : self . unrealised_pnl = unrealised_pnl if indicative_tax is not None : self . indicative_tax = indicative_tax if unrealised_profit is not None : self . unrealised_profit = unrealised_profit if synthetic_margin is not None : self . synthetic_margin = synthetic_margin if wallet_balance is not None : self . wallet_balance = wallet_balance if margin_balance is not None : self . margin_balance = margin_balance if margin_balance_pcnt is not None : self . margin_balance_pcnt = margin_balance_pcnt if margin_leverage is not None : self . margin_leverage = margin_leverage if margin_used_pcnt is not None : self . margin_used_pcnt = margin_used_pcnt if excess_margin is not None : self . excess_margin = excess_margin if excess_margin_pcnt is not None : self . excess_margin_pcnt = excess_margin_pcnt if available_margin is not None : self . available_margin = available_margin if withdrawable_margin is not None : self . withdrawable_margin = withdrawable_margin if timestamp is not None : self . timestamp = timestamp if gross_last_value is not None : self . gross_last_value = gross_last_value if commission is not None : self . commission = commission