public TapAPIPositionProfit(TapAPIPositionProfit other) : this(TapTradePINVOKE.new_TapAPIPositionProfit__SWIG_1(TapAPIPositionProfit.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static HandleRef getCPtr(TapAPIPositionProfit obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }