Bitcoin Forum
June 22, 2024, 06:29:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 [174] 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 »
3461  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 19, 2013, 02:52:40 PM
Cheers mate! With that I think I will make it work. Your help is much appreciated.
In case you are wondering, this is what Im working on:
http://goxgame.sytes.net/
Click legend to show/hide stuff, click and drag to zoom in.
Warning: buggy, obviously incomplete data, cant keep order book synched  etc,  its definitely still WIP.
3462  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 19, 2013, 01:31:10 PM
thanks for that. Before I try.. what that websocket key? It doesnt look anything like what I get from
https://socketio.mtgox.com/socket.io/1

I get  5360180921750645752

Is that related to your mtgox api key (and if so, is it safe to publish?) and if so, why doesnt it look anything like mine?
Or is it a fixed key and I can just use it?
3463  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 19, 2013, 12:34:33 PM
Im actually using php server side, and there is very little to be found on the web. Only code to create websockets, not to connect to them.

Anyway, I dont mind coding it if I know what to send, but python is mostly like chinese to me, so can you do me one more favor and modify websocket.py
change line 43 to:
_debug = True

Then run your app.
It will spit out the handshakes. If you copy/paste the output  I can try to implement it in php.
3464  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 18, 2013, 10:03:54 PM
Ah, you make it sound easy! And it probably is when you know what you are doing, but I dont Smiley
I found the url to get the session thingy. Im not sure what to do next; this is the closest I got so far:

edit: I guess the handshake should be this instead?
GET /socket.io/1/websocket/454534534534 HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: socketio.mtgox.com
Origin: null

Nothing is happening, no response.

edit2.
I debugged the python app linked above, and that made me use this string:
Code:
GET /socket.io/1/websocket/5360180921750645752 HTTP/1.1
Sec-WebSocket-Draft: 2
Host: socketio.mtgox.com
Upgrade: WebSocket
Connection: Upgrade
Origin: socketio.mtgox.com

Still no response, but now I wonder, do i need to set the authentication thing?
3465  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 18, 2013, 08:12:40 PM
This sucks. I spent a day learning about websockets and making goxgame work pretty decently, now I can start over again and it seems got a choice between redoing most of the work while learning (a lot more) javascript and node.js to implement some existing nodejs socket.io implementation and make it talk with my db, or  redoing most of the work trying to reverse engineering the socketio server to use websockets. Bah!

Thanks for the long explanation though.
3466  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 18, 2013, 06:25:33 PM
Thanks for confirming its not just me. I thought socketio was implemented on top of websockets though, so its weird that still works?
Either way, Ill make a HTTP fallback option. Do you know how often you can poll it? The documentation says no more than once per 10 seconds, but Im not sure if that is per request or for all requests (I need trades, depth, and ticker) ?
3467  Bitcoin / Project Development / Re: [ANN] A java client api for MtGox: mtgox-java on: March 18, 2013, 05:01:20 PM
Darn. I just spent most of the day learning about websockets to implement my own lol :p.
Out of curiosity, is gox websockets working for you atm? It worked fine for me for the past day or so, but since a few hours Im not getting any response, and I wonder if its just me ?
3468  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 18, 2013, 04:21:50 PM
is websocket service down? I can connected but I cant get any response (nor via telnet).
 Clarkmoody and the other sites still seem to work though?
3469  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 18, 2013, 12:01:18 PM
On trade messages you need to update the orderbook yourself, there will be no depth message.

If the trade is type:"bid" then it has filled an ask order, update your asks, if trade is type:"ask" then it has filled a bid order, update your bids.

On *own* trades there will be two trade messages: One public that everybody receives (like above), use that to update your orderbook like above and one private only to notify you about your trade that happened. Also on every trade that affects your *own* orders there will be user_order messages, at least one that sets the volume to the remaining volume (or zero and another one to finally remove it).

thanks a lot. That explains the weirdness I was getting.
3470  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 18, 2013, 07:52:44 AM
One thing isnt clear to me. when a trade occurs. does the API also send a depth message that reflects this trade? Or do I need to subscribe to the trade channel as well and then  match the trade with the orderbook to keep the orderbook up to date?
3471  Economy / Speculation / Re: Wall Observer - MtGoxUSD wall movement tracker on: March 18, 2013, 12:25:43 AM

Gox game. Where the only winning move is to buy and hold.

Nah, for the game you will have to trade. If you dont amass enough trade fees, you will be penalized. Granted, with the price being as stable as it has been recently, the game wont be quite as exciting as it could be, but it might still be good fun when its done.
3472  Economy / Speculation / Re: Wall Observer - MtGoxUSD wall movement tracker on: March 18, 2013, 12:13:31 AM
Since Wall Watching is boring atm, so I thought some of you might want change looks. This is work in progress, but you may like it already:



http://goxgame.sytes.net/

-Clickable legend: hide the stuff you dont want to see
-Graphical history of selected market depth points (only started logging recently!)
-Easy export chart (bitmap, vector, pdf)

Known issues:
- if you zoom in too fast, like from 7 day to 10 minutes, it wont zoom as much as you intended. Click the button again.
- hosted on terribly unreliable server for now, dont be mad if it goes down Smiley
- incomplete dataset

Things I will add still:
- regular depth chart
- vertical zoom
- <Your suggestion goes here>

3473  Bitcoin / Project Development / Re: [ANN] GoxGame. So you think you can trade? on: March 17, 2013, 11:24:59 PM
Major update.
-Added depth info in a novel way, so you can see evolution of the market depth. I think thats a first?
Of course its limited,  I only chose a few points to store (a few more than being shown currently). I only started logging those a few hours ago, so if you zoom out, you will get straight lines for the depth.
-More bugs and performance fixes

Feedback is welcome.
3474  Bitcoin / Project Development / Re: [ANN] GoxGame. So you think you can trade? on: March 17, 2013, 02:23:23 PM
Pretty nice execution  Smiley

TY Smiley

Added volume bars and fixed a bunch of bugs. Performance should be way better too now.
Next: depth chart
3475  Economy / Goods / Re: Mtgox ticker projector/LED sign/POV display on: March 17, 2013, 08:16:00 AM
Ive ordered a cheap 4" monitor for the pi and will experiment with that. The good thing about that is that it requires almost no work, compared to the soldering needed for most of the other solutions, but $50 is an impossible target. Just the cost of the pi+sdcard+wifi+ PSU + screen (/led bar and controller board) + case is well in excess of that.
3476  Economy / Trading Discussion / Re: Historic trade data on: March 16, 2013, 09:18:37 PM
warning: necro bump.

This no longer seems to work as it used to?
Im only getting the last few days worth of data, no matter what I enter as unixtime. Im looking for all historic data and with higher precision than the "raw data" HTML table on the website.

Please help.
3477  Bitcoin / Project Development / Re: [ANN] GoxGame. So you think you can trade? on: March 16, 2013, 08:41:53 PM
I have updated the chart and made a public demo. Have a look here:
http://goxgame.sytes.net/demo/

Expect some bugs and you cant trade without login.
You can click the legend to show/hide various curves.  More depth info and volume are coming soon.
3478  Bitcoin / Hardware / Re: FYI Intel & Altera to Build Next-Generation FPGAs on Intel's 14 nm Tri-Gate Tech on: March 16, 2013, 08:50:53 AM

tried to get a more statistics out of Altera....

Need more info on engineering specs.... ifs its really that big of a game changer..... why am I not requesting samples?

Do you realize all that altera announced is that they will use intel's upcoming 14nm process? We are several years away from seeing those chips, the fabs still have to built afaik, the node isnt ready, the design of the fpga most likely has not even have begun.  Even intel itself is not expected to be delivering 14nm chips until next year, I wouldnt expect altera to ship a 14nm product in volume until 2015 or 2016.
3479  Other / Beginners & Help / Re: Bitcoin price ticker? on: March 14, 2013, 10:01:53 PM
http://data.mtgox.com/api/1/BTCUSD/ticker
just decode the json and pick the value you want to use.
3480  Bitcoin / Pools / Re: [2000 GH/s] BitMinter.com [ASIC support: var diff, Stratum, GBT, rollntime] on: March 14, 2013, 08:01:29 PM
for sure the 'new' in the unconfirmed would be clear as compared to unconfirmed , especially if you are paying for perks. It made me nervous to see "unconfirmed" since I figured I was paying to not worry about a stale. New would have made me just check again in a few minutes.

"Unconfirmed" is the only correct term for bitcoin. "New" is the term I would apply to you (no offense) Smiley.
Pages: « 1 ... 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 [174] 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!