关于函数的Event事件想请教大家
现在我有一个API控件,它封装的函数中有一个Method是
reqAccountUpdates(boolean subscribe, string acctCode)
Call this method to request account updates. The account data will be fed back through the updateAccountTime, updateAccountValue and updatePortfolio events.
Event
void updatePortfolio (string symbol, string secType, string expiry, double strike, string right, string currency, string localSymbol, long position, double marketPrice, double marketValue, double averageCost, double unrealizedPNL, double realizedPNL, String account
This event updates a single holding in your portfolio.
如上面所叙述,
我想通过reqAccountUpdates函数的返回event:updatePortfolio得到它包含的某些值,该怎样去实现呢?新手上路,请多多指教!
reqAccountUpdates(boolean subscribe, string acctCode)
Call this method to request account updates. The account data will be fed back through the updateAccountTime, updateAccountValue and updatePortfolio events.
Event
void updatePortfolio (string symbol, string secType, string expiry, double strike, string right, string currency, string localSymbol, long position, double marketPrice, double marketValue, double averageCost, double unrealizedPNL, double realizedPNL, String account
This event updates a single holding in your portfolio.
如上面所叙述,
我想通过reqAccountUpdates函数的返回event:updatePortfolio得到它包含的某些值,该怎样去实现呢?新手上路,请多多指教!
...全文
相关推荐
js事件源window.event.srcElement兼容性写法(详解)
下面小编就为大家带来一篇js事件源window.event.srcElement兼容性写法(详解)。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
vue v-for 点击当前行,获取当前行数据及event当前事件对象的操作
主要介绍了vue v-for 点击当前行,获取当前行数据及event当前事件对象的操作,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
vc模拟按键实现代码,基于keybd_event
因为需要输入字符需要,便寻求到keybd_event方法,写了一个测试例子。主要功能是,模拟按键输入一段字符串。
html的DOM中Event对象onabort事件用法实例
主要介绍了html的DOM中Event对象onabort事件用法,实例分析了onabort事件的适用范围与对应的javascript使用技巧,需要的朋友可以参考下
Qt事件处理之鼠标处理事件
这是一个Qt事件处理系统,目前只实现了鼠标事件的处理,后续将添加键盘事件,绘图事件,定时事件等等的处理过程。程序比较简单,适合初学者。程序开发环境:win7+qt5.7.0


