Author

Topic: VBA - Implementing Websockets for Bitcoin API (Read 2089 times)

newbie
Activity: 6
Merit: 0
Hi! I'm willing to make some stuff with websockets in order to trade at BlinkTrade exchanges. Did you make any progress in this already?
full member
Activity: 168
Merit: 100
November 18, 2014, 06:01:17 AM
#2
Hi,

Currently I'm using HTTP queries to get market data from Bitcoin exchanges and it's a pain because the requests take too long to execute sometimes.

Apparently, we can get real time data using the Websocket protocol. I recently came across this on Bitstamp's website: https://www.bitstamp.net/websocket/. I've also seen OKCoin using the same protocol: https://www.okcoin.com/about/ws_getStarted.do

I would like to use that in Excel using VBA. Do you guys think that's possible? These websites have examples of code in Java...maybe running JavaScripts from VBA would do the trick?

Thanks!
Andre

you can try to find VB or VB.Net code and then port it in VBA for excel...

VBA is really closest to VB and VB.NET...
newbie
Activity: 9
Merit: 0
November 16, 2014, 11:26:08 PM
#1
Hi,

Currently I'm using HTTP queries to get market data from Bitcoin exchanges and it's a pain because the requests take too long to execute sometimes.

Apparently, we can get real time data using the Websocket protocol. I recently came across this on Bitstamp's website: https://www.bitstamp.net/websocket/. I've also seen OKCoin using the same protocol: https://www.okcoin.com/about/ws_getStarted.do

I would like to use that in Excel using VBA. Do you guys think that's possible? These websites have examples of code in Java...maybe running JavaScripts from VBA would do the trick?

Thanks!
Andre
Jump to: