zeronomicoin
Posts: 4
Joined: Wed Jul 17, 2019 3:23 pm

Kraken API script for sale

Sat Feb 15, 2020 12:40 pm

Look, you wan't to be able to SELL your bitcoins at for example 9000$ if price drops ?
I wrote script which works on kraken exchange platform API.
Actual rate is around 10200$ (Sat Feb 15 12:10:40 CET 2020)
You want to keep your bitcoins for now, but what if price drops and loose 3000$ in a quarter, will you be able to order to sell right now ?
Wouldn't you want to be able to sell at 9000$ for example without being 24h a day in front of your screens ?

Can you order to SELL at 9000$ if actual rate is 10200$ ? (ok it is not impossible but you would loose 1200$ don't you ?)

How to be able to do so, if and only if price drops ?
There are advanced options like stop loss or take profit. Yeah ... did you see what happenned with XRP/USD on bitmex ?


"WTF. FUCK YOU BITMEX. This is really not okay! My stop didn´t trigger and my entire bitmex account is fucking gone. Fuck you! pic.twitter dot com/WHXbJoiTvL

— Marc de Koning (@Koning_Marc) February 13, 2020"



NO FUN !!!

With my scripts, orders are market type, it means that your funds are still available, you do not have to cancel order to run another one, for example selling at 13000$


Script written in python to run in CLI windows / macOS / linux (don't worry it is easy)

$ drop_sell
Usage : drop_sell <pair> <volume> <limit price> (randomtime <min> <max>)
pair : XXBTZUSD
volume : 10
limit price : 9000
time delay between price check :
min (default 20 sec.) : 5
max : 5.5
10221.2 sell at 9000
next bid : 10 at 9000 USD in 5.33 sec. (12:19:10)
10221.2 sell at 9000
next bid : 10 at 9000 USD in 5.49 sec. (12:19:16)
10221.2 sell at 9000
next bid : 10 at 9000 USD in 5.09 sec. (12:19:22)
2020-02-15 12:19:16
10221.2 sell at 9000
next bid : 10 at 9000 USD in 5.48 sec. (12:19:27)
10221.2 sell at 9000
next bid : 10 at 9000 USD in 5.41 sec. (12:19:33)
...

This is not an advertise for the exchange platform used here, but for API method with CLI and the way to do it yourself.

contact and support : zeronomicoin at gmail dot com (GPG pubkey 0x641CE2E33060003C if you want)

Return to “Exchanges”

Who is online

Users browsing this forum: No registered users and 34 guests