NexusFi: Find Your Edge


Home Menu

 





My own scanner (java) + CSV file


Discussion in Platforms and Indicators

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




 
Search this Thread

My own scanner (java) + CSV file

  #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?
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Deepmoney LLM
Elite Quantitative GenAI/LLM
 
  #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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


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 Twitter 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts