NexusFi: Find Your Edge


Home Menu

 





My own scanner (java) + CSV file


Discussion in Platforms and Indicators

Updated
    1. trending_up 2,047 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?
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Thanks Mike. Godspeed.
The Elite Circle
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
No book, only a stair: journaling fills where price move …
Cryptocurrency
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
BERN ALGOS algo trading journal
1 thanks
Afternoon-close session
1 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,855


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: 691




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