Click here to Login





                                                   RT Function

  0

0
jason
2016-03-18 07:47:30


Hi,

I see an option to create a real-time connection via script through RT.Connect. Is there a way to disconnect/terminate the real-time session via script as well? Would like to establish the connection off hours, download data, and then terminate the session via a script.

Thanks-



QuantShare
2016-03-19 08:49:11

  0

Yes, there is. Example:

DataProvider dp = RT.GetDataConnection("name");
dp.Disconnect();



Gilari Decosta
2016-04-15 11:50:03

  0

Please provide an example to make connection


QuantShare
2016-04-16 05:35:14

  0

Just:

DataProvider dp = RT.GetDataConnection("name");



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 parser function
Advanced Quotes and Custom Databases Function
Swing Point Function (SP)
NORMDIST - Normal Probability Density Function
Day of week and Week number function

How-to Lessons
How to display two stocks on the same chart
How to plot two different time frames in the same chart
How to create a hatched area in a chart
How to set order type of a trading system programmatically
How to display the bar index of a stock on a chart

Related Forum Threads
Calling a Function from another Function
Creating Shortcuts with arrow keys? Function keys?
Custom Fitness function in Ranking System Manager
Problems with the Composite Function
Neural Network Prediction Output function - seems strange

Blog Posts
How to create market indicators using the composite function - Pa...
The 'inside period' function
How to create market indicators using the composite function - Pa...
How to create market indicators using the composite function - Pa...
How to create a ratio indicator using QS Trading Software









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.