0
Follow
2
Followers
اور اس کے بعد میں نے اس کے بارے میں سوچا اور اس کے بارے میں سوچا.
Related Recommendations
Comment
All comments (10)
已经按您的建议更新, 这是一个简单的例子(可实盘也可以回测), 需要清空浏览器缓存测试, 详情查看 LogStatus API描述
function main() {
var table = {
type: 'table',
title: '持仓信息',
cols: ['列1', '列2', 'Action'],
rows: [
['abc', 'def', {'type':'button', 'cmd': 'coverAll', 'name': '平仓'}],
['ABC', 'support color #ff0000', 'no thing']
]
};
LogStatus('`' + JSON.stringify(table) + '`')
while (true) {
var cmd = GetCommand()
if (cmd) {
Log(cmd)
}
Sleep(500)
}
}
9 years ago
- 1


