स्पॉट आइसबर्ग एनट्रस्ट खरीदें प्लगइन
3
Follow
1503
Followers
Very simple, just for learn.
Code is best annotation.
बर्फ के पहाड़ों को खरीदने के लिए, आदेशों को छोटे एम में खरीदने के लिए, बाजार को झटका देने से बचने के लिए, यह एक अच्छी सरल शुरुआत है बिटकॉइन की मात्रात्मक ट्रेडिंग सीखने की रणनीति
प्लगइन को ट्रेडिंग टर्मिनल पर एक क्लिक के साथ शुरू किया जा सकता है, बिना किसी शुल्क के, मैन्युअल ट्रेडिंग की सुविधा के लिए। अधिक जानकारी के लिएः https://www.fmz.com/digest-topic/5051
Source
JavaScript
function main(){
var initAccount = _C(exchange.GetAccount)
while(true){
var account = _C(exchange.GetAccount)
var dealAmount = account.Stocks - initAccount.Stocks
var ticker = _C(exchange.GetTicker)
if(BUYAMOUNT - dealAmount >= BUYSIZE){
var id = exchange.Buy(ticker.Sell, BUYSIZE)
Sleep(INTERVAL*1000)
if(id){
exchange.CancelOrder(id) // May cause error log when the order is completed, which is all right.Strategy parameters
Related strategies
Comment
All comments (0)
No data
- 1
