HOME FORUMS BROKERS SOFTWARE BOOKS CONTACT US
Elite Trader Your Account  •  Become a Member  •  Help  •  Search    
    Forums ›› Technically Speaking ›› Programming ›› Real-time quotes (options chain) on a web page  


Post A Reply
    
quatron
 

Registered: Jul 2011
Posts: 63

 

10-10-12 07:28 AM

I'm going to build a web interface to my trading server written in Java. The idea is to have a web page with live options chain where prices/greeks/other stuff is shown for monitoring purposes.
I think of embedding Jetty into my java server app and use jQuery to fetch data and show it on a html table.
As my server will have only one client I don't have to worry about scaling up. But I would like to keep the bandwidth consumption low. Because there are a lot of data on the options chain it would make sense to update the table incrementally. The problem is that I could not find any example or anything about how to build similar system (except some simple share price tickers). I'm not a web developer so not really aware of the range of technologies to choose from or what's might be already implemented.
I would appreciate if anyone has any idea/advice on how to implement this thing the best way.
Thanks.

    Edit/Delete Quote Complain
2rosy
 

Registered: May 2012
Posts: 336

 

10-10-12 01:21 PM

I have a webpage for monitoring as well. I used websockets, python, javascript, and rabbitmq.

backbonejs.org/
handlebarsjs.com/
underscorejs.org/
jquery.com/
www.tornadoweb.org/
www.rabbitmq.com/
http://bit.ly/rUGFwD

    Edit/Delete Quote Complain
quatron
 

Registered: Jul 2011
Posts: 63

 

10-11-12 01:30 PM


Quote from 2rosy:

I have a webpage for monitoring as well. I used websockets, python, javascript, and rabbitmq.





Thanks mate, interesting stuff. Reading up on websockets now.
Where did you use python and rabbitmq in web interface?

What's audubon technologies (the last link)? Is it your site?

    Edit/Delete Quote Complain
2rosy
 

Registered: May 2012
Posts: 336

 

10-11-12 02:03 PM


Quote from quatron:


Where did you use python and rabbitmq in web interface?




I publish all messages over rabbitmq. You dont need it but it makes things easier as you scale up. python is used as parts of the webpage

    Edit/Delete Quote Complain
vincegata
 

Registered: Jan 2011
Posts: 94

 

10-12-12 01:25 AM


Quote from 2rosy:

I publish all messages over rabbitmq. You dont need it but it makes things easier as you scale up. python is used as parts of the webpage



So you have some sort of extra module/executable where you send all messages from different parts of application (new orders, order confirmations, etc) then you use websockets to send those data to display on a webpage?

    Edit/Delete Quote Complain
quatron
 

Registered: Jul 2011
Posts: 63

 

10-17-12 12:25 AM


Quote from 2rosy:

I publish all messages over rabbitmq. You dont need it but it makes things easier as you scale up. python is used as parts of the webpage



I've done it with Jetty + jQuery for now, polling once a second. Works good enough. Will upgrade to websockets later.

I reverse-engineered OptionsXpress page with live options chains to get some insight into how to do things. Their code is easy to read. I'd recommend looking there as a starting point if someone is not a good web programmer.

    Edit/Delete Quote Complain
    
Post A Reply


Receive an email whenever a new post is added to this thread by subscribing to it.
 
Rate This Thread:

Forum Jump:
 

 

   Conduct Rules  -  Privacy Policy  -  Day Trader -  Day Trader Forum -  Best Trading Software -  Sitemap Copyright © 2013, Elite Trader. All rights reserved.    
 
WHILE YOU'RE HERE, TAKE A MINUTE TO VISIT SOME OF OUR SPONSORS:
Advantage Futures
Futures Brokerage & Clearing
AMP Global Clearing
Futures and FX Trading
Bright Trading
Professional Equities Trading
CTS
Futures Trading Software
DaytradingBias.com
Professional Trading Analytics
ECHOtrade
Professional Trading Firm
eSignal
Trading Software Provider
FXCM
Forex Trading Services
Global Futures
Futures, Options & FX Trading
Interactive Brokers
Pro Gateway to World Markets
JC Trading Group
Direct Access Trading
MB Trading
Direct Access Trading
MultiCharts
Trading Software Provider
NinjaTrader
Trading Software Provider
OANDA
Currency Trading
optionshouse
Option Trading & Education
Questrade
Canada's #1 Online Broker
Rithmic
Futures Trade Execution Platform
SpeedTrader
Direct Access Trading
SpreadProfessor
Spread Trading Instruction
thinkorswim by TD Ameritrade
Direct Access TradingAdvertisement
TradersStudio
System Building & Backtesting
Trading Technologies
Trading Software Provider
Trend Following
Trading Systems Provider