鼎元C++期货量化/程序化教程【调用K线数据(RsqBar)】
函数公式部分:[code]void test::RsqBar(string period, string inst){
TRSQBAR* t = new TRSQBAR();
t->Name = sName;
t->Type = "RsqBar";
t->Period = period;
t->Inst = inst;
if (hwnd)SendMessage(hwnd, WM_RSQBAR, (WPARAM)t, (LPARAM)36);
}[/code]策略中申请调用:[code]RsqBar(sPeriod, sInst);[/code]
页:
[1]