25 lines
642 B
C#
25 lines
642 B
C#
using BinanceExchange.API.Client;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SignalsTest
|
|
{
|
|
public class Brian
|
|
{
|
|
private static BinanceClient m_client;
|
|
|
|
public static BinanceClient Client { get { if(m_client == null)
|
|
{
|
|
m_client = new BinanceClient(new ClientConfiguration()
|
|
{
|
|
ApiKey = Secrets.BINANCE_API_PK,
|
|
SecretKey = Secrets.BINANCE_API_SK,
|
|
});
|
|
} return m_client;
|
|
} }
|
|
}
|
|
}
|