Click here to Login




MMOnClosePosition


MMOnClosePosition
QuantShare API Documentation

MMOnClosePosition Members

Functions related to the OnClosePosition event

Parent

Methods

AddTradeMetric (returns Void) (Metric name String, Metric value Double)

Add a trade metric
GetPositionDetails (returns MMExitPosition) (parameterless)

Get details about the current position
DontCloseTheCurrentPosition (returns Void) (parameterless)

Restrict the simulator from exiting the current position
DontClosePositionsForThisPeriod (returns Void) (parameterless)

Restrict the simulator from exiting all the positions within this period (date)
UpdateNumberOfShares (returns Boolean) (Number of shares Int32)

Update the number of shares to sell/cover



Manual

 

Back Parent

 

Download Manual in CHM or PDF format







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.