Author

Topic: [ANN] Bitcoin Exchange API for node.js (Read 2410 times)

newbie
Activity: 56
Merit: 0
August 11, 2011, 02:54:59 PM
#9
Do you actively develop the library?

I haven't been, I'm currently working on another bitcoin-related project for the time-being.
sr. member
Activity: 252
Merit: 250
August 07, 2011, 12:02:44 PM
#8
mtgox API is of no use for me as it's easy to make one in 10 minutes.

What I need is a well-designed unified interface for all existing exchanges, not just mtgox and not just public data but also programmatic trading. The btc-ex-api package pretends to be just like that. Not all exchanges are supported, but many of them. We have implemented support for some more exchanges and plan to integrate that in btc-ex-api in the future. But as of now the interface has plenty of room for improvements, and I can even make a pull request with all required changes if my architectural proposals get approved by our small committee Smiley
newbie
Activity: 33
Merit: 0
August 07, 2011, 08:55:36 AM
#7
nimnul, I have own implementation of node.js wrapper for mtgox api, you can check out links from this post: https://bitcointalksearch.org/topic/nodejs-mtgox-api-32889 Now I try to implement websocket mtgox api in my lib.
sr. member
Activity: 252
Merit: 250
August 07, 2011, 07:16:37 AM
#6
Well, I was seeking cooperation, not blame  Wink

We develop something like your library in-house for production use in our not yet released service, so we'd like to join the development.

Do you actively develop the library?
newbie
Activity: 56
Merit: 0
August 06, 2011, 10:56:10 AM
#5
I added issues to the git bug tracker

lol, I don't know whether to thank you or curse you  Wink
sr. member
Activity: 252
Merit: 250
August 06, 2011, 09:41:57 AM
#4
I added issues to the git bug tracker
newbie
Activity: 56
Merit: 0
July 17, 2011, 08:50:08 AM
#3
Library API and internal design are arcane with all this poor man's encapsulation using properties starting with _ and misuse of getters, prototypes and closures, but it's 0.0.1 and I hope we will get it ironed out over time.

Please expand on this issue.
sr. member
Activity: 252
Merit: 250
July 17, 2011, 12:28:53 AM
#2
I appreciate this so much. If you had flattr I could donate.

But how did you get around https://github.com/joyent/node/issues/1302 ?

UPD: Your MtGox depth works (unlike mine!), and I'm glad to see proper error handling in the code. Library API and internal design are arcane with all this poor man's encapsulation using properties starting with _ and misuse of getters, prototypes and closures, but it's 0.0.1 and I hope we will get it ironed out over time.
newbie
Activity: 56
Merit: 0
July 16, 2011, 05:46:14 PM
#1
I've just released the first version of a new API for interacting with Bitcoin exchanges for node.js. I've been using it for a couple weeks now and it seems to work pretty well, but no guarantees.

Goal:
The purpose of this project is to provide a robust enough interface to interact
with Bitcoin exchanges (in whatever way that might be) without going into things
that necessarily should be customized such as trading bot strategies.

Current Features:
  • Mostly written for compatibility with Mt Gox API
  • Known to work with: Mt Gox, TradeHill, Bitcoin7 (via ExchangeB7 class), ExchangeBitcoins
  • Check Account Balance in USD and BTC
  • Place Buy and Sell Orders
  • Find out the cost (USD) to buy a given amount of BTCs (including trade fee) on an exchange
  • Find out the gain in selling a given amount of BTCs (including trade fee) on an exchange

Install:
Code:
npm install btc-ex-api

Source:
https://github.com/freewil/btc-ex-api
Jump to: