Ejemplo n.º 1
0
        private void SendMarketEvent(long volume)
        {
            SupportMarketDataBean bean = new SupportMarketDataBean("", 0, volume, null);

            _epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 2
0
        private void SendEvent(String symbol, double price, long volume)
        {
            var theEvent = new SupportMarketDataBean(symbol, price, volume, "");

            _epService.EPRuntime.SendEvent(theEvent);
        }
Ejemplo n.º 3
0
        private void SendMarketBean(string symbol, long volume)
        {
            var bean = new SupportMarketDataBean(symbol, 0, volume, "");

            _epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 4
0
        private void SendMarketEvent(EPServiceProvider epService, string symbol, double price, long volume)
        {
            var bean = new SupportMarketDataBean(symbol, price, volume, null);

            epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 5
0
 public void Update(SupportMarketDataBean dummy)
 {
 }
Ejemplo n.º 6
0
 public static SupportBean ConvertEvent(SupportMarketDataBean bean)
 {
     return(new SupportBean(bean.Symbol, (bean.Volume).AsInt()));
 }
Ejemplo n.º 7
0
 public static bool VolumeGreaterZero(SupportMarketDataBean bean)
 {
     return(bean.Volume > 0);
 }
Ejemplo n.º 8
0
        private void SendEventMD(EPServiceProvider epService, string symbol, long volume)
        {
            var bean = new SupportMarketDataBean(symbol, 0, volume, "");

            epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 9
0
        private EventBean MakeTradeBean(String symbol, int price)
        {
            var bean = new SupportMarketDataBean(symbol, price, 0L, "");

            return(SupportEventBeanFactory.CreateObject(bean));
        }
Ejemplo n.º 10
0
        private void SendEvent(String symbol, String feed, long volume)
        {
            SupportMarketDataBean theEvent = new SupportMarketDataBean(symbol, 0, volume, feed);

            _epService.EPRuntime.SendEvent(theEvent);
        }
Ejemplo n.º 11
0
 private SupportMarketDataBean SendMarketEvent(string s)
 {
     var bean = new SupportMarketDataBean(s, 0d, 0L, "");
     _epService.EPRuntime.SendEvent(bean);
     return bean;
 }
Ejemplo n.º 12
0
        private Object MakeEvent(String symbol, double price)
        {
            SupportMarketDataBean theEvent = new SupportMarketDataBean(symbol, price, 0L, "");

            return(theEvent);
        }
Ejemplo n.º 13
0
        private EventBean MakeBean(double price, long volume)
        {
            SupportMarketDataBean bean = new SupportMarketDataBean("CSCO.O", price, volume, "");

            return(SupportEventBeanFactory.CreateObject(bean));
        }
Ejemplo n.º 14
0
 public EventSendDesc(SupportMarketDataBean theEvent, String eventDesc)
 {
     this.theEvent  = theEvent;
     this.eventDesc = eventDesc;
 }
Ejemplo n.º 15
0
        private void SendMarketBean(EPServiceProvider epService, string symbol)
        {
            var bean = new SupportMarketDataBean(symbol, 0, 0L, "");

            epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 16
0
        private SupportMarketDataBean MakeEvent()
        {
            var theEvent = new SupportMarketDataBean("IBM", 50, 1000L, "RT");

            return(theEvent);
        }
Ejemplo n.º 17
0
        private EventBean MakeBean(String symbol, double price, long volume)
        {
            var bean = new SupportMarketDataBean(symbol, price, volume, "");

            return(SupportEventBeanFactory.CreateObject(bean));
        }
Ejemplo n.º 18
0
        private void SendMDEvent(EPServiceProvider epService, long volume)
        {
            var bean = new SupportMarketDataBean("S0", 0, volume, null);

            epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 19
0
 public static bool CompareEvents(SupportMarketDataBean beanOne, SupportBean beanTwo)
 {
     return(beanOne.Symbol.Equals(beanTwo.TheString));
 }
Ejemplo n.º 20
0
        private void SendEvent(double price)
        {
            SupportMarketDataBean bean = new SupportMarketDataBean("DELL", price, -1L, null);

            epService.EPRuntime.SendEvent(bean);
        }
        private void SendMarketBean(String symbol, long volume)
        {
            SupportMarketDataBean bean = new SupportMarketDataBean(symbol, 0, volume, "");

            _engine.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 22
0
        private void SendEvent(String Symbol, double Price)
        {
            SupportMarketDataBean bean = new SupportMarketDataBean(Symbol, Price, 0L, null);

            _epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 23
0
 public void Update(SupportMarketDataBean bean)
 {
     throw new ApplicationException("DummySubscriberException-generated");
 }
Ejemplo n.º 24
0
        private void SendEvent(String symbol)
        {
            SupportMarketDataBean theEvent = new SupportMarketDataBean(symbol, 0, 0L, "");

            _epService.EPRuntime.SendEvent(theEvent);
        }
Ejemplo n.º 25
0
        private void SendEvent(String symbol, long volume, double price)
        {
            SupportMarketDataBean bean = new SupportMarketDataBean(symbol, price, volume, null);

            _epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 26
0
 public void Update(string value, SupportMarketDataBean s1, SupportBean s0)
 {
     AddIndication(new object[] { value, s1, s0 });
 }
Ejemplo n.º 27
0
        private void SendMarketBean(string symbol)
        {
            SupportMarketDataBean bean = new SupportMarketDataBean(symbol, 0, 0l, "");

            epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 28
0
 public void Update(SupportBean s0, SupportMarketDataBean s1)
 {
     AddIndication(new object[] { s0, s1 });
 }
Ejemplo n.º 29
0
        private void SendEvent(string symbol, double price)
        {
            var bean = new SupportMarketDataBean(symbol, price, 0L, null);

            _epService.EPRuntime.SendEvent(bean);
        }
Ejemplo n.º 30
0
 public void Add(SupportMarketDataBean theEvent, String eventDesc)
 {
     events.Add(new EventSendDesc(theEvent, eventDesc));
 }