策略源码
void main() {
Sleep(10000);
Log(exchange.GetAccount());
int i=0;
auto s=s1;
while (1) {
if (exchange.IO("status") == 1) {
exchange.SetContractType(Symbol);
auto ticker = exchange.GetTicker();
auto position = exchange.GetPosition();
auto orders = exchange.GetOrders();
if (position.size() > 0 && !(orders.size() > 0)) {策略参数
评论
全部评论 (0)
暂无数据
- 1