ilkerulutas / binancesdk Goto Github PK
View Code? Open in Web Editor NEWBinance Rest Api and Web Socket Integrations for c#
License: MIT License
Binance Rest Api and Web Socket Integrations for c#
License: MIT License
Merhabalar,
öncelikle elinize sağlık, aşağıdaki gibi bir kod oluşturdum, buy işlemi yapmıyor, yardımcı olursanız sevinirim,
ek olarak aslında yapmak istediğim, bu kodu bana yollarsanız sevinirim,
1-dünün kapanış fiyatını bulmak
2-bugünün kapanış fiyatını bulmak
3-1 saat öncenin kapanış fiyatını bulmak
4-2 saat öncenin kapanış fiyatını bulmak
5-buy işlemi yapmak
6-sell işlemi yapmak
7-tüm açık orderları kapatmak
8-tüm açık orderları listelemek
9-yaptığım işlemleri görsel bir yerde görebilmek
var restClient = new BinanceClient(BinanceApiKey, BinanceApiSecret);
var orderResult = restClient.NewOrder("BTCUSDT", OrderSide.Buy, OrderType.Market, TimeInForce.GoodUntilCanceled, 1, 1, false, "order1");
//Query the given order result.
var orderQueryResult = restClient.QueryOrder("BTCUSDT", null, "order1");
//List Current Open Orders for given Trade Pair
var openOrders = restClient.CurrentOpenOrders("BTCUSDT");
//List All Orders
var allOrders = restClient.ListAllOrders("BTCUSDT");
//Cancels an open order by using either orderId or clientOrderId
var cancelOrderResult = restClient.CancelOrder("BTCUSDT", null, "order1");
//List Trades
var trades = restClient.ListMyTrades("BTCUSDT");
Hi ilker, binance api url is changed.
Your binanceclient url is
private const string BaseUrl = "https://www.binance.com/api";
replaced this
private const string BaseUrl = "https://api.binance.com/api";
ConnectUserDataEndpoint example seems doesn't working currently. Not error and nothing happened. Never run handlers when I enter or cancel ayn order.
Other web socket working fine.
am i doing wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.