Type/to search

Einfaches Plugin für geplanten Kauf und anschließenden Verkauf

Study
3
Follow
1510
Followers

Wie im Titel: Kaufpreis kann festgelegt werden, nach erfolgreichem Kauf wird automatisch ein Verkaufsauftrag zum Verkauf erteilt. Das Plugin kann mit einem Klick im Trading-Terminal gestartet werden, ist kostenlos und erleichtert den manuellen Handel. Ausführliche Informationen: https://www.fmz.com/digest-topic/5051

Source
JavaScript
function CancelPendingOrders() {
    var orders = _C(exchange.GetOrders);
    for (var j = 0; j < orders.length; j++) {
        exchange.CancelOrder(orders[j].Id, orders[j]);
    }
}
function main() {
    Log('robot starts to run')
    if(BUYPRICE >= SELLPRICE){
        throw 'check buy and sell price'
    }
    CancelPendingOrders()
Strategy parameters
Strategy parameters
buy price
buy amount
sell price after buying
sleep time (second)
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)