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

How-to Lessons
Difference between the watchlist and the screener tools
How to calculate the average of a time series using the money man...
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

Related Forum Threads
Count() with STDdev function anomoly
Creating Shortcuts with arrow keys? Function keys?
Custom Fitness function in Ranking System Manager
Neural Network Prediction Output function - seems strange
Problem with performance calculation in custom function

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...
Charting & Scripts - Manage stock charts using the global script









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.