Author

Topic: Needed bitcoin software? (Read 3710 times)

sr. member
Activity: 337
Merit: 265
November 25, 2010, 10:44:50 AM
#11
I added the feature to bitcoincharts.com:

http://bitcoincharts.com/markets/lasttrades.json

Will return the 15 most recent trades by default. You can also supply a timestamp and a custom limit:

http://bitcoincharts.com/markets/lasttrades.json?since=UNIXTIME&limit=LIMIT

Example: http://bitcoincharts.com/markets/lasttrades.json?since=1290600000&limit=2

This is evaluated as WHERE timestamp >= 1290600000 LIMIT 2

Hope this makes programming a bit easier.
hero member
Activity: 812
Merit: 1022
No Maps for These Territories
November 25, 2010, 09:50:12 AM
#10
Yep, I got them.  As noone had replied here, I just edited my previous message instead of posting a new one.

A JSON format would indeed be easier for machine parsing Smiley

legendary
Activity: 1386
Merit: 1097
November 25, 2010, 09:48:16 AM
#9
There was update before 15 minutes. Did you receive it? It is always in text format. If you are interested, I can send you original json (there are the same data, but encoded as json dict).
hero member
Activity: 812
Merit: 1022
No Maps for These Territories
November 25, 2010, 07:41:16 AM
#8
Try [email protected] for updates. I started bot on my desktop, but have also 24/7 server where can be bot online if it will be useful.
I'm making a Python bot to listen for these updates. I've got the basic XMPP login, but I'm stuck; how to use your bot? Do I need to send it something before it will send updates to me?

Quote
Message 39475364831290686573167276 Sorry, there are no commands available yet...
Seems not. How to make it send to me?

OK.. figured out already. Just needed to send a subscribe/contact list message Grin
Quote
Message 39475364831290686573167276 That's all! Now just wait to trades on Mt.Gox :-)
Let's see if any actual trades come in Smiley It works!

Request: Please add a command to get the last trade(s). That way, it is easier to make a desktop applet/widget that watches the current price.

Also, is there a way to subscribe to XMPP notifications without creating some kind of account? To make this useful as a standalone program, it shouldn't require anyone to register at google etc.

newbie
Activity: 11
Merit: 0
November 21, 2010, 06:00:38 PM
#7
great idea.
what is also missing is stop buy / loss ordering, trailing stops, etc (this is related to your idea above but would need to be implemented in the exchanges)

Well, mtgox has an API that lets you buy and sell. Through that API someone could implement stop loss etc through that, without being implemented in the exchange.
legendary
Activity: 1386
Merit: 1097
November 21, 2010, 10:03:25 AM
#6
Do any of the exchanges have RSS feeds of their trade data?  That would seem like a reasonable way to transmit information of this nature and might be fun to have something like a stock ticker-type of application which would show trades happening in "real time".

I implemented jabber bot (python) which multicast changes on Mt.Gox in almost realtime fastion to all subscribed contacts, but it is currently off (it is working but I do not have reasonable usage yet). It is nice that the polling of mtgox API can be done only once for many many independent users.
Useful! Much better than polling Smiley


Try [email protected] for updates. I started bot on my desktop, but have also 24/7 server where can be bot online if it will be useful.

Also current algorithm is that polling is faster when market is active (first poll after market update is 0.5 second, next ~1.5 second) and is limitely going to poll every ~25 when market is dead (here is simple log function inside which make time between polls longer). It is absolutely no problem to modify algorithm to fit special requests.
hero member
Activity: 812
Merit: 1022
No Maps for These Territories
November 21, 2010, 09:43:13 AM
#5
Do any of the exchanges have RSS feeds of their trade data?  That would seem like a reasonable way to transmit information of this nature and might be fun to have something like a stock ticker-type of application which would show trades happening in "real time".

I implemented jabber bot (python) which multicast changes on Mt.Gox in almost realtime fastion to all subscribed contacts, but it is currently off (it is working but I do not have reasonable usage yet). It is nice that the polling of mtgox API can be done only once for many many independent users.
Useful! Much better than polling Smiley
legendary
Activity: 1386
Merit: 1097
November 21, 2010, 09:05:06 AM
#4
Do any of the exchanges have RSS feeds of their trade data?  That would seem like a reasonable way to transmit information of this nature and might be fun to have something like a stock ticker-type of application which would show trades happening in "real time".

I implemented jabber bot (python) which multicast changes on Mt.Gox in almost realtime fastion to all subscribed contacts, but it is currently off (it is working but I do not have reasonable usage yet). It is nice that the polling of mtgox API can be done only once for many many independent users.

I can publish my work or cooperate on this project, because it can be quite straightforward to add settings for each subscriber, which kind of price he is interested in (say 'send me just notification for movement above $0.3/USD).
full member
Activity: 224
Merit: 141
November 21, 2010, 08:54:37 AM
#3
Do any of the exchanges have RSS feeds of their trade data?  That would seem like a reasonable way to transmit information of this nature and might be fun to have something like a stock ticker-type of application which would show trades happening in "real time".
legendary
Activity: 2100
Merit: 1000
November 21, 2010, 03:10:29 AM
#2
great idea.
what is also missing is stop buy / loss ordering, trailing stops, etc (this is related to your idea above but would need to be implemented in the exchanges)
newbie
Activity: 11
Merit: 0
November 21, 2010, 02:40:44 AM
#1
Hi guys, I have been trying to think of useful software for bitcoin users. I am currently working on a site that will notify you, if the price of bitcon goes above or below a value that you choose. Its something that I wish existed but doesn't, and I figured that I wouldn't be the only one that wanted something like that.

Can anyone think of software other that doesn't exist that you wish did?

Cheers!
Jump to: