Beispiel #1
0
 public void setAveragePrice(int val)
 {
     ContextModulePINVOKE.Position_setAveragePrice(swigCPtr, val);
 }
Beispiel #2
0
    public long getLastTradeQty()
    {
        long ret = ContextModulePINVOKE.Quote_getLastTradeQty(swigCPtr);

        return(ret);
    }
Beispiel #3
0
    public long getTotalAskQty()
    {
        long ret = ContextModulePINVOKE.Quote_getTotalAskQty(swigCPtr);

        return(ret);
    }
Beispiel #4
0
 public void setDepth(byte val)
 {
     ContextModulePINVOKE.Quote_setDepth(swigCPtr, val);
 }
Beispiel #5
0
    public long getSymbolId()
    {
        long ret = ContextModulePINVOKE.Quote_getSymbolId(swigCPtr);

        return(ret);
    }
Beispiel #6
0
    public TradeBook getTradeBook()
    {
        TradeBook ret = new TradeBook(ContextModulePINVOKE.Portfolio_getTradeBook(swigCPtr), false);

        return(ret);
    }
Beispiel #7
0
 public void setTotalAskQty(long val)
 {
     ContextModulePINVOKE.Quote_setTotalAskQty(swigCPtr, val);
 }
Beispiel #8
0
    public Side getOrderMode()
    {
        Side ret = (Side)ContextModulePINVOKE.Position_getOrderMode(swigCPtr);

        return(ret);
    }
Beispiel #9
0
 public void setQuantity(int val)
 {
     ContextModulePINVOKE.Position_setQuantity(swigCPtr, val);
 }
Beispiel #10
0
    public int getAveragePrice()
    {
        int ret = ContextModulePINVOKE.Position_getAveragePrice(swigCPtr);

        return(ret);
    }
Beispiel #11
0
    public Instrument getInstrument()
    {
        Instrument ret = new Instrument(ContextModulePINVOKE.Position_getInstrument(swigCPtr), true);

        return(ret);
    }
Beispiel #12
0
    public int getQuantity()
    {
        int ret = ContextModulePINVOKE.Position_getQuantity(swigCPtr);

        return(ret);
    }
Beispiel #13
0
 public void initialize()
 {
     ContextModulePINVOKE.Position_initialize(swigCPtr);
 }
Beispiel #14
0
 public void setOrderType(Side val)
 {
     ContextModulePINVOKE.Position_setOrderType(swigCPtr, (int)val);
 }
Beispiel #15
0
    public NetPositions getNetPositions()
    {
        NetPositions ret = new NetPositions(ContextModulePINVOKE.Portfolio_getNetPositions(swigCPtr), false);

        return(ret);
    }
Beispiel #16
0
 public Instrument() : this(ContextModulePINVOKE.new_Instrument__SWIG_0(), true)
 {
 }
Beispiel #17
0
    public OrderBook getOrderBook()
    {
        OrderBook ret = new OrderBook(ContextModulePINVOKE.Portfolio_getOrderBook(swigCPtr), false);

        return(ret);
    }
Beispiel #18
0
    public InstrumentType getInstrumentType()
    {
        InstrumentType ret = (InstrumentType)ContextModulePINVOKE.Instrument_getInstrumentType(swigCPtr);

        return(ret);
    }
Beispiel #19
0
 public void setLowPrice(long val)
 {
     ContextModulePINVOKE.Quote_setLowPrice(swigCPtr, val);
 }
Beispiel #20
0
    public long getStrikePrice()
    {
        long ret = ContextModulePINVOKE.Instrument_getStrikePrice(swigCPtr);

        return(ret);
    }
Beispiel #21
0
 public void setUpperCktLimit(long val)
 {
     ContextModulePINVOKE.Quote_setUpperCktLimit(swigCPtr, val);
 }
Beispiel #22
0
    public string getSeries()
    {
        string ret = ContextModulePINVOKE.Instrument_getSeries(swigCPtr);

        return(ret);
    }
Beispiel #23
0
 public void setAskQty(SWIGTYPE_p_long_long val)
 {
     ContextModulePINVOKE.Quote_setAskQty(swigCPtr, SWIGTYPE_p_long_long.getCPtr(val));
 }
Beispiel #24
0
    public int getTickSize()
    {
        int ret = ContextModulePINVOKE.Instrument_getTickSize(swigCPtr);

        return(ret);
    }
Beispiel #25
0
    public long getNumberOfTrades()
    {
        long ret = ContextModulePINVOKE.Quote_getNumberOfTrades(swigCPtr);

        return(ret);
    }
Beispiel #26
0
    public OptionType getOptionType()
    {
        OptionType ret = (OptionType)ContextModulePINVOKE.Instrument_getOptionType(swigCPtr);

        return(ret);
    }
Beispiel #27
0
    public long getLowPrice()
    {
        long ret = ContextModulePINVOKE.Quote_getLowPrice(swigCPtr);

        return(ret);
    }
Beispiel #28
0
 public void insert(Order order)
 {
     ContextModulePINVOKE.Portfolio_insert(swigCPtr, Order.getCPtr(order));
 }
Beispiel #29
0
    public long getUpperCktLimit()
    {
        long ret = ContextModulePINVOKE.Quote_getUpperCktLimit(swigCPtr);

        return(ret);
    }
Beispiel #30
0
 public NetPositions() : this(ContextModulePINVOKE.new_NetPositions(), true)
 {
 }