Bitcoin Forum
May 02, 2024, 01:41:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bittrex trade api v3  (Read 95 times)
nikitios (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
August 20, 2020, 07:52:17 PM
 #1

добрый день. bittrex прислал письмо что с 01.10.2020 прекращается поддержка api v1.1 и нужно переходить на v3. при попытке использовать v3 для buy/sell такого вида

'{
"marketSymbol": "BTC-USDT",
"direction": "BUY",
"type": "MARKET",
"quantity": "0.0005",
"timeInForce": "FILL_OR_KILL"
}'

ордер срабатывает 2 раза т.е. покупается/продается 2 раза по 0.0005 итого 0.001. в разделе orders сайта видно что ордер сработал 2 раза в одно и то же время. кто нибудь сталкивался с подобным?
1714657293
Hero Member
*
Offline Offline

Posts: 1714657293

View Profile Personal Message (Offline)

Ignore
1714657293
Reply with quote  #2

1714657293
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714657293
Hero Member
*
Offline Offline

Posts: 1714657293

View Profile Personal Message (Offline)

Ignore
1714657293
Reply with quote  #2

1714657293
Report to moderator
1714657293
Hero Member
*
Offline Offline

Posts: 1714657293

View Profile Personal Message (Offline)

Ignore
1714657293
Reply with quote  #2

1714657293
Report to moderator
1714657293
Hero Member
*
Offline Offline

Posts: 1714657293

View Profile Personal Message (Offline)

Ignore
1714657293
Reply with quote  #2

1714657293
Report to moderator
nikitios (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
August 22, 2020, 07:10:45 AM
 #2

нашел у себя баг - 2 раза подряд посылал запрос, поэтому было 2 сделки, так что с api все норм.
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!