Bitcoin Forum
May 04, 2024, 03:10:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: VBA - Implementing Websockets for Bitcoin API  (Read 2087 times)
dehhh (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 17, 2014, 03:26:08 AM
 #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
1714835426
Hero Member
*
Offline Offline

Posts: 1714835426

View Profile Personal Message (Offline)

Ignore
1714835426
Reply with quote  #2

1714835426
Report to moderator
1714835426
Hero Member
*
Offline Offline

Posts: 1714835426

View Profile Personal Message (Offline)

Ignore
1714835426
Reply with quote  #2

1714835426
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714835426
Hero Member
*
Offline Offline

Posts: 1714835426

View Profile Personal Message (Offline)

Ignore
1714835426
Reply with quote  #2

1714835426
Report to moderator
1714835426
Hero Member
*
Offline Offline

Posts: 1714835426

View Profile Personal Message (Offline)

Ignore
1714835426
Reply with quote  #2

1714835426
Report to moderator
1714835426
Hero Member
*
Offline Offline

Posts: 1714835426

View Profile Personal Message (Offline)

Ignore
1714835426
Reply with quote  #2

1714835426
Report to moderator
bloodDiamond
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
November 18, 2014, 10: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...
brant
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
March 03, 2015, 02:47:56 AM
 #3

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?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!