Type/to search

बिटकॉइन की कीमत निर्धारित करें और उसे WeChat पर डालें (ट्यूटोरियल)

Study
3
Follow
1504
Followers

शिक्षण रणनीतियाँः
जब सिक्का मूल्य सेट मूल्य से अधिक या कम हो जाता है, तो स्वचालित रूप से WeChat को एक संदेश भेजा जाता है। न्यूनतम धक्का अंतराल सेट किया जा सकता है।

When the price of the currency is higher or lower than the set value, a message is automatically pushed to WeChat or telegram. The minimum push interval can be set.

Source
JavaScript
/*
This stragegy will sent a message to your telegram when the price is higher or lower than
the set price.
All stragegy must has a main function as the entrance.
*/
function main() {
     //change symbol,will cover the default exchange which was set when start a bot.Currency is a strategy arguments
    exchange.IO("currency", Currency)   
    var lastPushTime = 0    //the variable of last push timestamp.
    while(true){    //run a infinite loop, which is the basic structure
Strategy parameters
Strategy parameters
trading pair
when price is higher than
when price is lower than
interval
Comment
All comments (4)

    大佬为什么机器人运行时显示无法与被测者建立联系啊

    5 years ago

    建议增加英文标题,方便外国朋友阅读

    5 years ago

    回测时,平台怎么选择,小白有点懵逼了^^

    6 years ago

    不能回测,回测要啥价格推送啊

    6 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)