i found bitstamp live trade stream api in this forum post,
my code:
var pusher = new Pusher('de504dc5763aeef9ff52');
var trades_channel = pusher.subscribe('live_trades');
trades_channel.bind('trade', function(data) {
console.debug(data);
and it is works,
it returns trade data like this:
amount: 0.30628
id: 3764896
price: 492.23
but it didn't return trade type. how to get?