Click here to Login





                                                   Read watchlist from file

  0

0
Dennis Schutten
2020-05-18 09:11:32


Hello,

I am looking for a script example which allows me to read a watchlist.txt file from disk and use this in Quantshare. Can you please give a example on how to do this?

Regards,
Dennis



QuantShare
2020-05-21 15:16:31

  0

Hi Dennis,

Reading a file can be done using the "System.IO.File" class. What do you want to do with the content of the file?



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Portfolio Statistics to CSV File
All Symbols Watchlist
Buy signal watchlist And Buy signal on your Chart (Red Spot)
Lagged Data From a Custom Database
Market cap, ROE, ROA and Forward PE for U.S. Stocks - Fundamental...

How-to Lessons
How to run a screen or a watchlist from a script
How to import trading data from CSV files
Difference between the watchlist and the screener tools
How to create a watchlist
How to import trading items from other accounts

Related Forum Threads
update a new symbol from a csv file
How do I Import Tick Data from a CVS file
Ingest earnings data from csv file ..
Account file corrupted, restored from backup. What have I lost?
Importing portfolio from a comma delimted file

Blog Posts
Export Trading Orders from a Portfolio to a File
Reading and Exporting Data from QuantShare to Excel Programmatica...
Create Realtime Quote Sheets with the Watchlist Tool
How to Send Commands to QuantShare from Excel or Other Applicatio...
How to Backtest a Strategy from a Chart









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.