Example #1
0
        static void Construct()
        {
            LrpClient         = CreateLocalClient(Signature.Value, "SoftFX.LlApi.");
            LrpLlCommonClient = CreateLocalClient(Financial.Generated.Signature.Value, "SoftFX.LlCommon.");

            Serializer = new Financial.Generated.Serializer(LrpLlCommonClient);

            Handle                 = new Handle(LrpClient);
            Params                 = new Params(LrpClient);
            Client                 = new ClientServer(LrpClient);
            ClientCache            = new ClientCache(LrpClient);
            FeedServer             = new FeedServer(LrpClient);
            FeedCache              = new FeedCache(LrpClient);
            TradeServer            = new TradeServer(LrpClient);
            TradeCache             = new TradeCache(LrpClient);
            Converter              = new Converter(LrpClient);
            TradeHistoryIterator   = new TradeHistoryIterator(LrpClient);
            DailySnapshotsIterator = new DailySnapshotsIterator(LrpClient);
            Library                = new Library(LrpClient);
        }
Example #2
0
File: Native.cs Project: ifzz/FDK
        static void Construct()
        {
            LrpClient = CreateLocalClient(Signature.Value, "SoftFX.LlApi.");
            LrpLlCommonClient = CreateLocalClient(Financial.Generated.Signature.Value, "SoftFX.LlCommon.");

            Serializer = new Financial.Generated.Serializer(LrpLlCommonClient);

            Handle = new Handle(LrpClient);
            Params = new Params(LrpClient);
            Client = new ClientServer(LrpClient);
            ClientCache = new ClientCache(LrpClient);
            FeedServer = new FeedServer(LrpClient);
            FeedCache = new FeedCache(LrpClient);
            TradeServer = new TradeServer(LrpClient);
            TradeCache = new TradeCache(LrpClient);
            Converter = new Converter(LrpClient);
            Iterator = new Iterator(LrpClient);
            Library = new Library(LrpClient);
        }