BitShares Forum

Main => General Discussion => Topic started by: Cyberfreedom on March 17, 2018, 12:05:05 am

Title: When stop loss
Post by: Cyberfreedom on March 17, 2018, 12:05:05 am
I think it is a shame there is no stop loss. What would it take to configure one. It can not be a viable trading platform without stop loss. Your toughts
Title: Re: When stop loss
Post by: litepresence on March 17, 2018, 03:05:51 am
check here:

Wrapper for Common PyBitshares DEX Algo Trading API Calls
https://bitsharestalk.org/index.php?topic=25988.0

should be very easy to implement, like this:

Code: [Select]
while 1:
    if dex('last') < stoploss:
         dex('sell')

call it done
Title: Re: When stop loss
Post by: pc on March 17, 2018, 10:34:21 am
It's in discussion: https://github.com/bitshares/bsips/issues/51