Bitcoin Forum
May 07, 2024, 04:04:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BTCE Api Delay?  (Read 654 times)
Teneth (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 03, 2014, 09:56:43 AM
 #1

Hi,

I was playing around with an arbitrage script and I was wondering if this indicates there is a delay in the btce API or if I'm missing something.  For example I ran the script and the following happened:

Ran arbitrage analysis and saw small profit of 0.003 cents
Executed trade to make 0.003 cents
Ran arbitrage analysis again and saw same profit of 0.003 cents

So I was pretty confident I should've made 0.003 cents because the analysis immediately before and after the trade was 0.003 cents but in fact I lost something like 8 cents on the trade.  Does this indicate the API has a delay of some sort?  Maybe this is to prevent arbitrage?

(Also, I'm pretty sure my bot is accurate because I've tested it with negative profit values and it's been accurate to like 8 decimal places.)  Thanks,

-Teneth
1715054650
Hero Member
*
Offline Offline

Posts: 1715054650

View Profile Personal Message (Offline)

Ignore
1715054650
Reply with quote  #2

1715054650
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715054650
Hero Member
*
Offline Offline

Posts: 1715054650

View Profile Personal Message (Offline)

Ignore
1715054650
Reply with quote  #2

1715054650
Report to moderator
1715054650
Hero Member
*
Offline Offline

Posts: 1715054650

View Profile Personal Message (Offline)

Ignore
1715054650
Reply with quote  #2

1715054650
Report to moderator
1715054650
Hero Member
*
Offline Offline

Posts: 1715054650

View Profile Personal Message (Offline)

Ignore
1715054650
Reply with quote  #2

1715054650
Report to moderator
botticelli
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 03, 2014, 12:31:18 PM
 #2

Hi Teneth,

did you include the fees in your calculation? (For both exchanges)
And keep in mind that btc-e takes fees from the result of your order (either crypto or fiat) whereas for example on bitstamp the fee is always deducted in usd.
That means that you need to buy 1+x BTC on btc-e to get 1 BTC.
Teneth (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 03, 2014, 01:58:02 PM
 #3

The bot takes into account trade fees (about 0.2%) so that shouldn't be throwing it off,

-Teneth
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!