Type/to search
0
Follow
0
Followers
मैं इन्वेंटर क्वांट पर आधे महीने से हूँ। मैं एक कोड साझा करना चाहूँगा जो रोबोट को मैन्युअल हस्तक्षेप रणनीति के बाद मैन्युअल संचालन जानकारी कैप्चर करने की अनुमति देता है।
FAQ
Created 2016-04-25 11:28:36  Updated 2019-08-01 10:33:10
 1
 2081

मैनुअल पोजीशन के बाद, रोबोट पोजीशन ऑपरेशन को कैप्चर कर सकता है और फिर रिटर्न स्विचिंग रणनीति की स्थिति आदि की गणना कर सकता है

if (GetPosition(PD_SHORT)[0]===0 && GetPosition(PD_LONG)[0]===0){ if (State!=STATE_IDLE){ var account = exchange.GetAccount(); if (account.Stocks > LastAccount.Stocks) { Counter.w++; } else { Counter.l++; } LogProfit(_N(account.Stocks - InitAccount.Stocks), "收益率:", _N((account.Stocks - InitAccount.Stocks) * 100 / InitAccount.Stocks) + '%'); LastAccount = account; } State=STATE_IDLE; }

क्या आप जानते हैं कि यह कैसे काम करता है?

Related Recommendations
Comment
All comments (1)

    感放分享,替你排版了下.

    10 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)