I see there are a few commercially Java coded downloader for IB's historical data download. Such as http://www.tradinggeeks.net/downloads/ib-data-downloader/ Has anyone coded the downloading function (in java)? Can you please share some sourcecodes with me to help me get started? I can share some ebooks in exchange. Thanks.
I found and IB data downloader written in Java that could help. https://github.com/mattrobust/IBDownloadHistoricalData What ebooks do I get?
So in exchange for helping you out, you'll help me break copyright laws and steal from authors and publishers? Sounds like a compelling offer.
Alternatively, www.mechtrading.com qcollector will take all daily and intraday history from esignal classic for $50 and keep the csv files upto date if you do not cancel.
Complete Guide to Option Selling by the founder of optionsellers.com https://app.box.com/s/dn6aqp5hjen8unk3f2e5zb0e8oqezm6g
Although this provides you a starting point for your code, it might not work "out of the box". That code is four years old and in the mean time has IB's API changed.
An advice which is often given is to download the sample software from IB and use that as starting point. Edit: also this site has several examples: http://holowczak.com/ib-api-tutorials-by-programming-language/
they have webinars. There is one on Java (look under API). I haven't watched that one so I don't know. The python one may be worth a look if you want to learn that instead. I'm being nice as it is Thanksgiving and did the search for you and giving links below but if you utilize the internet and its search capabilities, you just may find some useful info out there: Introduction to the TWS Java API https://www.interactivebrokers.com/en/index.php?f=2227 https://www.interactivebrokers.com/en/index.php?f=1085