您当前的位置: 首页 > 

l2接口

暂无认证

  • 9浏览

    0关注

    89博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

调用l2行情数据api接口如何做?

l2接口 发布时间:2022-10-19 15:07:32 ,浏览量:9

调用l2行情数据api接口如何做?这个方式用起来比较简单,这种通达信l2行情接口通常是指HTTP接口,也可以说是HTTP API,URL为接口的地址,HTTP方法指的是GET, PUT, DELETE等等。一般来讲,调用通达信L2接口,都需要代码接入:

public interface IFeatureControl { }

public sealed class FeatureControl : IFeatureControl

{

public static IFeatureControl Current { get; }

static FeatureControl()

{

if (Current == null)

{

Current = new FeatureControl();

}

}

}

[TestFixture]

public class FeatureControlTests

{

[Test]

public void IsFeatureControlSingleton()

{

IFeatureControl c1 = FeatureControl.Current;

IFeatureControl c2 = FeatureControl.Current;

Assert.AreSame(c1, c2);

关注
打赏
1665994830
查看更多评论
立即登录/注册

微信扫码登录

0.0342s