Type/to search

Plugin simple de compra programada y posterior venta

Study
3
Follow
1510
Followers

Como dice el título, se puede establecer un precio de compra, y una vez que la compra se realiza con éxito, automáticamente se coloca una orden de venta al precio de venta.
El complemento se puede iniciar con un solo clic en el terminal de trading, no tiene costo y es conveniente para el trading manual. Detalles: 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)