Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   Money management - C#

  0

0
User
2011-02-01 06:22:39


Hello,

QuantShare supports functions in money management C# scripting.
But what about Class ?
In fact what version of C# is used and what is the scope of C# really covered ?
Thanks




QuantShare
2011-02-01 07:10:14

  0

Best Answer
C# of the Framework version 2.0 is used. You can call any C# functions.

The C# code you type in money management scripts, composites, global scripts... is internally inserted into a function. This function is then called by QuantShare.

You can create external functions and classes by defining them after "#functions#" keyword.

Example of a Global Script (Tools -> Script Editor)

AA aa = new AA();
MessageBox.Show(aa.a);

#functions#
public class AA
{
public string a = "test";
}



User
2011-02-01 07:27:27

  0

Thanks again


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
Withdraw a Fixed Amount Every Month - Money Management
Correlation Filter Money Management Strategy
Investing in stocks using the Kelly criterion money management st...
Return per Bar Stop - Money Management Strategy
Averaging Down Money Management Strategy

How-to Lessons
How to calculate the average of a time series using the money man...
How to debug a trading system using the money management tool
How to download Portfolio123 data into QuantShare
How to add a metric in the trading system simulation report
How to add custom position-based metrics to your trading system

Related Forum Threads
Example of Money Management
Advanced Money Management
Backtesting: Using lookback money management feature
Place a profit stop through Money management strategy
Money Management Scripting

Blog Posts
Basic trading system implemented using the money management tool
Several money management strategies in a trading system
Create a trading strategy using the money management tool - Part ...
Create a trading strategy using the money management tool - Part ...
Money Management: Optimize a trading system









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items