04 2024 档案

Wind WSS 与 WSET 中读取合约ContractMultiplier的问题
摘要:WSET 中读取某一个Underlying的期权合约时, 2 可以设置,也必须设置一个时间, 例如 上图中 2020-11-30 是510050.SH的分红日,期权老合约变为A,同时有新合约M成为标准合约 如果把日期改为2020-11-29则会返回还没有变成A合约的M标准合约 随后返回的数据项中 可 阅读全文

posted @ 2024-04-28 13:28 norsd 阅读(13) 评论(0) 推荐(0) 编辑

CentOS设置定时任务
摘要:crontab 的配置文件在/var/spool/cron/下面 如果是root用户,文件名就是root 语法规则: https://blog.csdn.net/xinyflove/article/details/83178876 阅读全文

posted @ 2024-04-28 08:23 norsd 阅读(5) 评论(0) 推荐(0) 编辑

关于函数参数压入堆栈, C#函数作为CallBack的问题@CTP
摘要:关于函数参数压入堆栈@CTP 问题描述: 之前使用C#的Delegate描述C++的类函数 如下: ///请求查询合约响应 virtual void OnRspQryInstrument(CThostFtdcInstrumentField *pInstrument, CThostFtdcRspInf 阅读全文

posted @ 2024-04-18 13:40 norsd 阅读(7) 评论(0) 推荐(0) 编辑

c++ 编译找不到 .pch
摘要:Reference:https://www.viva64.com/en/b/0265/ Enable precompiled headers in all configurations for all *.cpp files. It can be done on the “Precompiled H 阅读全文

posted @ 2024-04-12 11:01 norsd 阅读(6) 评论(0) 推荐(0) 编辑

Linux 设置路由
摘要:route add -net 192.168.106.0/24 gw 170.20.18.3 em1 添加奇怪的路由必须指定gateway例如: route add -net 192.168.100.0/24 gw 10.10.10.1 如果只指定device 可能路由没有效果, 比如上面的路由不设 阅读全文

posted @ 2024-04-08 21:46 norsd 阅读(4) 评论(0) 推荐(0) 编辑

Visual Studio Code 隐藏特定文件
摘要:在setting.json中添加如下代码 "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/CVS": true, "**/.DS_Store": true, "**/__pycache__":true 阅读全文

posted @ 2024-04-08 09:05 norsd 阅读(8) 评论(0) 推荐(0) 编辑

C# ComboBox 使用 DataSource SelectedIndex无法设置的问题
摘要:在C#中如下代码 var cbo = new ComboBox(); cbo.DropDownStyle = ComboBoxStyle.DropDownList; var cbo.DataSource = new int[]{1, 2, 3}; cbo.SelectedIndex = 0; cbo 阅读全文

posted @ 2024-04-08 07:05 norsd 阅读(33) 评论(0) 推荐(0) 编辑

Windows下如何确定虚函数在虚函数表中的位置
摘要:我需要用c#调用 c++ 的 类的函数, 虽然可以通过头文件的顺序,但是如果可以打印出虚函数在虚表中的Offset更好。 测试要求: Windows, x86 只有1层虚函数,没有被override过 虚函数调用如下 auto a_reqCreditDetail = &XtTraderApi::re 阅读全文

posted @ 2024-04-05 19:05 norsd 阅读(9) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示