NexusFi: Find Your Edge


Home Menu

 





My own scanner (java) + CSV file


Discussion in Platforms and Indicators

Updated
    1. trending_up 1,892 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
Dirkfio
Antwerp Belgium
 
Posts: 1 since Jul 2017
Thanks Given: 0
Thanks Received: 0

Hi All,

Can I write my own scanner (in java or C++ or ...) that does the following:
Get open/close/high/low/volume from x previous bars and write these data to a csv file.
This should be done for a list (array) of stocks.

Is this possible in TWS? Or do I need other tools?
Any example codes and how to use the code in TWS?

Thanks.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
BofA Projects $1.1 Trillion in Sports Event Contracts -- …
Prediction Markets & Event Contracts
Prediction Markets Expiry Day: Trump Eyes War Exit, $230 …
Prediction Markets & Event Contracts
US Treasury Weighs Direct Oil Futures Market Interventio …
Commodities
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860


Dirkfio View Post
Hi All,

Can I write my own scanner (in java or C++ or ...) that does the following:
Get open/close/high/low/volume from x previous bars and write these data to a csv file.
This should be done for a list (array) of stocks.

Is this possible in TWS? Or do I need other tools?
Any example codes and how to use the code in TWS?

Thanks.

This is possible.
You may want to take a look at the TWS API (make sure to enable to API in your TWS before making a call).

Look at the following links :

https://www.interactivebrokers.com/en/index.php?f=11698

Interactive Brokers TWS API Tutorials ? Arranged by API Topic | Holowczak.com

https://github.com/krs43/ib-csharp

good luck !


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690




That repository is quite old, and redundant now that IB has their own C# API. See here (and the links on the page): https://www.interactivebrokers.com/en/index.php?f=5041


Reply With Quote
Thanked by:




Last Updated on July 14, 2017


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts