Bitcoin Forum
December 14, 2024, 02:26:28 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: NickelBot API  (Read 539 times)
AdamCox9 (OP)
Full Member
***
Offline Offline

Activity: 145
Merit: 112

To the moon!


View Profile WWW
April 10, 2016, 01:41:56 AM
 #1

Here is the API on NickelBot:

http://www.nickelbot.com/#docs

It is functioning.

You can see the source code here: https://github.com/AdamCox9/nickelbot

It looks like this so far: (all of these links are live on my site - buy/sell orders are hard coded to make min buy/sell of 0.011 of BTC for USD at $404 and $444)

Docs

An array of all connected exchanges.
N/A
/api/index.php?action=exchanges

An array of all currencies BTC, LTC, BTC-USD, etc...
public function get_currencies();
/api/index.php?exchange=Bitfinex&action=get_currencies
/api/index.php?exchange=Bitstamp&action=get_currencies
/api/index.php?exchange=Bittrex&action=get_currencies
/api/index.php?exchange=Btce&action=get_currencies
/api/index.php?exchange=Bter&action=get_currencies
/api/index.php?exchange=Coinbase&action=get_currencies
/api/index.php?exchange=Poloniex&action=get_currencies

An array of all marckets BTC-LTC, BTC-USD, etc...
public function get_markets();
/api/index.php?exchange=Bitfinex&action=get_markets
/api/index.php?exchange=Bitstamp&action=get_markets
/api/index.php?exchange=Bittrex&action=get_markets
/api/index.php?exchange=Btce&action=get_markets
/api/index.php?exchange=Bter&action=get_markets
/api/index.php?exchange=Coinbase&action=get_markets
/api/index.php?exchange=Poloniex&action=get_markets

Get deposit addresses for an exchange.
public function deposit_addresses();
/api/index.php?exchange=Bitfinex&action=deposit_addresses
/api/index.php?exchange=Bitstamp&action=deposit_addresses
/api/index.php?exchange=Bittrex&action=deposit_addresses
/api/index.php?exchange=Btce&action=deposit_addresses
/api/index.php?exchange=Bter&action=deposit_addresses
/api/index.php?exchange=Coinbase&action=deposit_addresses
/api/index.php?exchange=Poloniex&action=deposit_addresses

Cancel one order
public function cancel( $order_id = 1, $opts = array() );
/api/index.php?exchange=Bter&action=cancel&id=3db01a5c-9df1-4f6a-9273-eeea0f3bdabf

Cancel all orders:
public function cancel_all();
/api/index.php?exchange=Bter&action=cancel_all

Make a buy order
public function buy( $pair='BTC-LTC', $amount="0.01", $price="0.01", $type="LIMIT", $opts=array() );
/api/index.php?exchange=Bitfinex&action=buy&market=BTC-USD&price=404&amount=0.011

Make a sell order
public function sell( $pair='BTC-LTC', $amount="0.01", $price="0.01", $type="LIMIT", $opts=array() );
/api/index.php?exchange=Bitfinex&action=sell&market=BTC-USD&price=444&amount=0.011

Buy Bitcoin!
spendabit
Member
**
Offline Offline

Activity: 93
Merit: 10

Spendabit is a search engine for Bitcoin


View Profile WWW
April 10, 2016, 01:53:44 AM
 #2

You should include some mission statement about this project to make it easier for the readers and not have to hunt so much. Otherwise congrats on an interesting project.

AdamCox9 (OP)
Full Member
***
Offline Offline

Activity: 145
Merit: 112

To the moon!


View Profile WWW
April 10, 2016, 02:50:16 AM
 #3

You should include some mission statement about this project to make it easier for the readers and not have to hunt so much. Otherwise congrats on an interesting project.

NickelBot is a web platform that can be downloaded and set-up on anybodies server. It is meant to be a starting point for developers to build bots or web apps that utilize all the functionality from the exchanges.

The code base provides for standard communications to the major exchanges. There are 7 exchanges supported now. The target audience right now are entrepreneurs that can think of ways to use this platform to build a business.

I'm looking to get contributors and users for the platform. I have many issues open up at the github website. A qualified contributor would have experience with programming in PHP/JavaScript and experience with online trading. I have already got several inquiries for projects that I could forward to serious contributors.

Buy Bitcoin!
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!