Bitcoin Forum
June 14, 2024, 07:34:55 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Futures trading software for api's?  (Read 74 times)
e2048 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 1


View Profile
September 02, 2022, 06:44:55 PM
 #1

Dies anyone know where to find trading software that works with exchange api?
I tried googling without luck but maybe i don't know the right terminology.

What I want to do is for example put in a limit futures order to buy at 19500 with a stop loss at 19000, but I want to program it so if the price goes above 20500 it will automatically change my stop loss to 20000, to prevent loosing profits if the price goes down.
Is it possible to do this on any exchange?
I thought about making a small app to do it with api's but maybe it already exists.
Thanks in advance for any help.
teosanru
Hero Member
*****
Offline Offline

Activity: 2100
Merit: 618


View Profile
September 02, 2022, 07:50:41 PM
 #2

Dies anyone know where to find trading software that works with exchange api?
I tried googling without luck but maybe i don't know the right terminology.

What I want to do is for example put in a limit futures order to buy at 19500 with a stop loss at 19000, but I want to program it so if the price goes above 20500 it will automatically change my stop loss to 20000, to prevent loosing profits if the price goes down.
Is it possible to do this on any exchange?
I thought about making a small app to do it with api's but maybe it already exists.
Thanks in advance for any help.
Basically, what you want is a trailing stop loss from what I can understand, this is possible in a few exchanges itself. As far as I know, Binance does provide this solution, you can put a trailing stop loss on Binance by setting the Gap price from the high of that very rally, which means if you put the order of 19500 and it is executed and you put a trailing stop loss of 5% so now if the price reaches 20500 your stop loss will get changed to somewhere around 19480. Similarly now if the price comes down for a bit and then again breaches 20k mark to reach 22k, your stop loss will now become around 21k. So this will be carried on until it drops 5% from the high of that rally. You can refer to this guide to understand the concept: https://www.binance.com/en/support/faq/339635f6260d43c5aefa4c3c921728ec
logfiles
Copper Member
Legendary
*
Offline Offline

Activity: 2016
Merit: 1700


Top Crypto Casino


View Profile WWW
September 03, 2022, 10:34:08 AM
 #3

A trailing stop order!

It's future that is available in a number of exchanges I know like Bybit, Binance, Okx, phemex. You don't need a trading bot or trading terminal in order to achieve it. I advise you to read about this kind of order and how you can set it up depending on the exchange you are using.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
GreatArkansas
Legendary
*
Offline Offline

Activity: 2352
Merit: 1355


Playgram - The Telegram Casino


View Profile WWW
September 03, 2022, 10:49:18 AM
 #4

A trailing stop order!

It's future that is available in a number of exchanges I know like Bybit, Binance, Okx, phemex. You don't need a trading bot or trading terminal in order to achieve it. I advise you to read about this kind of order and how you can set it up depending on the exchange you are using.
But OP seems to build something using API, which seems a trading bot something that is created via some coding logic.

I found some articles about Binance's API:
https://dev.binance.vision/t/how-do-i-set-a-stop-loss-stop-loss-limit-trailing-stop-loss-or-take-profit-order-via-the-api/2612/2
https://dev.binance.vision/t/how-to-implement-otoco-tp-sl-orders-using-api/1622
https://github.com/binance/binance-spot-api-docs/blob/master/faqs/trailing-stop-faq.md
https://docs.ftx.com/#get-open-trigger-orders

Overall these kinds of functions will depend on Exchanges.
The articles above will help you to achieve those via API especially using top exchanges like Binance and FTX. This is very helpful, just check and read carefully their API documentation for this.

▄▄███████▄▄███████
▄███████████████▄▄▄▄▄
▄████████████████████▀░
▄█████████████████████▄░
▄█████████▀▀████████████▄
██████████████▀▀█████████
████████████████████████
██████████████▄▄█████████
▀█████████▄▄████████████▀
▀█████████████████████▀░
▀████████████████████▄░
▀███████████████▀▀▀▀▀
▀▀███████▀▀███████

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
 
Playgram.io
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▄▄▄░░
▀▄







▄▀
▀▀▀░░
▄▄▄███████▄▄▄
▄▄███████████████▄▄
▄███████████████████▄
▄██████████████▀▀█████▄
▄██████████▀▀█████▐████▄
██████▀▀████▄▄▀▀█████████
████▄▄███▄██▀█████▐██████
█████████▀██████████████
▀███████▌▐██████▐██████▀
▀███████▄▄███▄████████▀
▀███████████████████▀
▀▀███████████████▀▀
▀▀▀███████▀▀▀
██████▄▄███████▄▄████████
███▄███████████████▄░░▀█▀
███████████░█████████░░
░█████▀██▄▄░▄▄██▀█████░
█████▄░▄███▄███▄░▄█████
███████████████████████
███████████████████████
██░▄▄▄░██░▄▄▄░██░▄▄▄░██
██░░░░██░░░░██░░░░████
██░░░░██░░░░██░░░░████
██▄▄▄▄▄██▄▄▄▄▄██▄▄▄▄▄████
███████████████████████
███████████████████████
 
PLAY NOW

on Telegram
e2048 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 1


View Profile
September 05, 2022, 07:04:53 PM
 #5

Thanks for the tip about trailing stop loss.
Unfortunately I can't use binance because they ask for ID documents.
I'm currently using kucoin, does any other exchange have this feature?
I have found many guides that say binance doesn't require kyc upto 2 btc but they ask me right away upon signup, is there a specific country they don't ask?
Bitcoin_Arena
Copper Member
Legendary
*
Offline Offline

Activity: 2058
Merit: 1807


฿itcoin for all, All for ฿itcoin.


View Profile
September 05, 2022, 11:38:58 PM
 #6

I have found many guides that say binance doesn't require kyc upto 2 btc but they ask me right away upon signup, is there a specific country they don't ask?
Those guides where there before Binance started implementing mandatory KYC verification upon sign up so it's not country specific. Try alternative exchanges like OKX. Last time i used it, their KYC verification was not yet that strict.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!