Method: Ctp::CThostFtdcSyncingInvestorPositionField#FrozenMargin

Defined in:
ext/ctp/ctp.cxx

#FrozenMargin(*args) ⇒ Object



54425
54426
54427
54428
54429
54430
54431
54432
54433
54434
54435
54436
54437
54438
54439
54440
54441
54442
54443
54444
54445
54446
# File 'ext/ctp/ctp.cxx', line 54425

SWIGINTERN VALUE
_wrap_CThostFtdcSyncingInvestorPositionField_FrozenMargin_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcSyncingInvestorPositionField *arg1 = (CThostFtdcSyncingInvestorPositionField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcMoneyType result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcSyncingInvestorPositionField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcSyncingInvestorPositionField *","FrozenMargin", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcSyncingInvestorPositionField * >(argp1);
  result = (TThostFtdcMoneyType) ((arg1)->FrozenMargin);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}