Type/to search
8
Follow
1375
Followers
Cách lọc số lượng sàn giao dịch thực tế trong chiến lược đa sàn giao dịch
FAQ
Created 2017-07-27 17:30:18  
 0
 1887

Cách lọc số lượng sàn giao dịch thực tế trong chiến lược đa sàn giao dịch

Một số người dùng đã hỏi làm thế nào để chọn ra một số lượng tài khoản giao dịch thực sự được cấu hình từ một loạt các sàn giao dịch đã được thêm vào.

  • Ví dụ:

    img

    Có một số sàn giao dịch được lựa chọn.

  • Kiểm tra mã nhỏ

function main(){ var showArray = [] for(var i = 0; i < exchanges.length ; i++){ Log("Name:", exchanges[i].GetName(), "Label:", exchanges[i].GetLabel(), "#FF0000") } Log("筛选") for(var j = 0; j < exchanges.length; j++){ var isFind = false for(var n = 0; n < showArray.length; n++){ if(exchanges[j].GetLabel() == showArray[n].Label && exchanges[j].GetName() == showArray[n].Name){ isFind = true } } if(!isFind){ Log(exchanges[j].GetLabel()) showArray.push({Name : exchanges[j].GetName() , Label : exchanges[j].GetLabel()}) } } Log(showArray) }
  • Kết quả kiểm tra

    img

Related Recommendations
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)