Beispiel #1
0
        public void QueryOrders()
        {
            BfxMarketWSAPI api = new BfxMarketWSAPI("../../../Keys/bfx.txt", "BTC");

            Thread.Sleep(1000);
            var orders = api.GetActiveOrders();

            foreach (var o in orders)
            {
                Trace.WriteLine($"{o.ClientOrderID} | {o.Price} | {o.Volume}");
            }

            api.Close();
            Thread.Sleep(500);
        }