Click here to Login





                                                   custom feed ???

  0

0
srishail
2018-07-20 03:03:27


Hi Guru,
How to get tick data directly from the script editor using custom feed?Is it possible to get the .nsei data using following script???
while(true)
{
Chart chart = Charts.GetSelectedChart();
if(chart != null)
{
string[] symbols = new string[1];
symbols[0] = chart.SymbolName;
string[] fields = new string[1];
fields[0] = "Number of past days=1";
Downloader.DownloadData("", "Intraday Data for NSE Stocks", true, symbols, fields);
int seconds = 60;
App.Main.Sleep(100 * seconds); // Do not change this - It may crash your PC if you change it
Charts.GetSelectedChart().Update();
App.Main.Sleep(900 * seconds); // Do not change this - It may crash your PC if you change it
}
}



Gilari Decosta
2018-07-20 04:39:49

  1

Sir,
It is to use with API provided by brokers .Zerodha,upswtox and Sharekhan now provide API.We can expect Quantshare will put a blog on the code to retrieve data from sockets to custom feed.



QuantShare
2018-07-20 10:38:44

  1

A blog post will follow regarding this but what you are doing with the script is simply downloading data and refreshing a chart.

The custom feed will allow you to use the following function (RT.SendCustomFeedEvent) to add tick data to the "Custom Feed" that you can add in "Accounts -> Connect"



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
News data for US companies from Google RSS feed
Custom High/Low Range
Upside-Downside and Custom Standard Deviation
Advanced Quotes and Custom Databases Function
Sum of a Custom Database's Field

How-to Lessons
How to create a custom trendline
How to add custom position-based metrics to your trading system
How to create a custom trading indicator
How to use a custom drawing tool
How to improve the performance of QuantShare databases?

Related Forum Threads
Custom feed
Storing a series of custom data globally.
Custom Plugin to get Live Market depth data from IQfeed
Cursor in Custom Drawing Tool
IQ feed intra data plug in?

Blog Posts
Create custom metrics for the statistical data analysis tool
How to Create a Custom Real-Time Table using QS Trading Software
Speed Up Optimizations by Saving Ranking Data into a Custom Datab...
Custom Shortcuts - Move a Chart to Display the Last Quotes/Data
Custom Indicator: Relative Strength









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.