You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
843 B
25 lines
843 B
using Binance.Net.Clients;
|
|
using Binance.Net.Objects;
|
|
using CryptoExchange.Net.Authentication;
|
|
|
|
namespace Binance.SDK
|
|
{
|
|
public class BinanceContractTest
|
|
{
|
|
public BinanceContractTest()
|
|
{
|
|
var apiKey = "muiZ1IA2sPMQ2m0YFPubEvZepjzn2nxeuPHqQ6mejKVXljYDQTOIYbm22NlXxKcv";
|
|
var apiSecret = "3Clur3D1hDeZYhtVSJzPBiEBb7S0ktC8WpaRQ3F7ysQe55kbsPTBZ6U4X9XsX4Ww";
|
|
var client = new BinanceClient(new BinanceClientOptions()
|
|
{
|
|
UsdFuturesApiOptions = new BinanceApiClientOptions()
|
|
{
|
|
BaseAddress = "https://fapi.binance.com",
|
|
ApiCredentials = new ApiCredentials(apiKey, apiSecret)
|
|
}
|
|
});
|
|
|
|
var result = client.UsdFuturesApi.Trading.GetOrderAsync("ETHUSDT");
|
|
}
|
|
}
|
|
}
|
|
|