示例#1
0
        public PGEquities(PGonApi PGApi)
            : base(PGApi, PGClusterNames.Equities)
        {
            SymbolType = "Symbol";

            InitDefaultChannels(DefaultEquitiesChannels);
        }
示例#2
0
        public PGForex(PGonApi PGApi)
            : base(PGApi, PGClusterNames.Forex)
        {
            SymbolType = "Pair";

            InitDefaultChannels(DefaultForexChannels);
        }
示例#3
0
        public PGCrypto(PGonApi PGApi)
            : base(PGApi, PGClusterNames.Crypto)
        {
            SymbolType = "Pair";

            InitDefaultChannels(DefaultCryptoChannels);
        }
示例#4
0
        public PGClusterBase(PGonApi PGApi, string ClusterName)
        {
            this.PGApi = PGApi;

            // add to Clusters list
            PGApi.AddToPGClusters(this);

            this.ClusterName   = PGStatus.ClusterName = ClusterName;
            PGStatus.webSocket = pgWebSocket.webSocket;
        }
示例#5
0
 public PGEquities(PGonApi PGApi)
     : base(PGApi, PGChannelNames.Equities)
 {
 }
示例#6
0
 public PGChannelBase(PGonApi PGApi, string ChannelName)
 {
     this.PGApi       = PGApi;
     this.ChannelName = ChannelName;
     ApiKey           = PGWebSocketRef.ApiKey = PGApi.ApiKey;
 }