using ccxt; // importing ccxt namespace Project; class Project { public async static Task CreateOrder() { var exchange = new Binance(); exchange.apiKey = "my api key"; exchange.secret = "my secret"; // always use the capitalized method (CreateOrder instead of createOrder) var order = await exchange.CreateOrder("BTC/USDT", "limit", "buy", 1, 50); Console.WriteLine("Placed Order, order id: " + order.id); } }