Bitcoin Forum
November 20, 2019, 11:33:58 AM *
News: Latest Bitcoin Core release: 0.18.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitstamp API tradebot on Php - WhaleHunter  (Read 580 times)
logicalwire
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 14, 2014, 03:08:16 AM
Last edit: March 14, 2014, 04:12:24 AM by logicalwire
 #1

Hello everybody,

I'm making some software that interact with Bitcoin trading API like those provided by Bitstamp.net.
This tradebot is able to find the best price for buy following the buywall and then the sellwall. There is some parameters to set for find the buywall and sellwall that you want to follow.

You have control over your balance and orders with sound alerts and you can check price ticker, high/low difference and some other parameters.

There is also a stop loss function that sell at bid price and generate alarm.


You can get it on this address : https://www.dropbox.com/sh/8c5r0esvd2v9639/kdNAfFPi3T

Please leave me your comments and send me some tip. I hope that is helpful and it is a good step to understand how API work anyway. I can also add some feature that you need feel free to ask me. Other way if you are one a huge project I would like to step in.

1574249638
Hero Member
*
Offline Offline

Posts: 1574249638

View Profile Personal Message (Offline)

Ignore
1574249638
Reply with quote  #2

1574249638
Report to moderator
The Bitcoin Forum is turning 10 years old! Join the community in sharing and exploring the notable posts made over the years.
1574249638
Hero Member
*
Offline Offline

Posts: 1574249638

View Profile Personal Message (Offline)

Ignore
1574249638
Reply with quote  #2

1574249638
Report to moderator
1574249638
Hero Member
*
Offline Offline

Posts: 1574249638

View Profile Personal Message (Offline)

Ignore
1574249638
Reply with quote  #2

1574249638
Report to moderator
blankia
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
March 14, 2014, 09:01:16 AM
 #2

The buy/sell wall is now checking for every 3000 open orders? Can you make the buy/sell wall calculated differently? So for example check all open bid orders above $400, or not more than 30% away from the midpoint (bid/ask/2), same for open asks order.

Just to avoid counting  open orders of buying 10.000 bitcoin for 0.01$ in the orderbook ect.
logicalwire
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 14, 2014, 01:19:25 PM
 #3

Yes it check the volume and the price of 3000 open orders. I can make it to count the whole orderbook and to set a number of open order to count that is a part of them that's possible. That's also a good point because it will eliminate the bug that could occur if the orderbook is smaller that 3000 offers but I have to count the whole orderbook anyway for set that number automatically. Actually it count from the highest bid and the lowest ask so it can find the buy/sell wall easy with 3000 offer but that's a parameter that have to be adjusted when the orderbook depth if it change significantly.



Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!