Click here to Login





                                                   Commissions / Slippage in Trade Log?

  0

0
Dave W.
2014-03-09 18:39:15


Is there a simple formula I can add to an AMM script to show commissions and slippage by position in the trade log?

I thought I could probably do this using, for example:
Functions.AddTradeMetric("Commissions", pos.[SOMETHERE HERE]) ;
Functions.AddTradeMetric("Slippage", pos.[SOMETHERE HERE]) ;

... but I looked for a pos property to do this, and didn't see one.

Thank you.





QuantShare
2014-03-10 12:43:53

  0

Best Answer
There is no property to get commissions and slippage. But you can calculate them knowing your setting and given position details.

Example (commissions $2/share)
pos.NbShares * 2




Dave W.
2014-03-11 19:55:04

  0

Understood. Thanks.

Please consider adding a property to the pos object in a future release for commissions and slippage so we don't have to set it in two places in order to see the information in the trade log (e.g., in a money management script + in the system settings).



Dave Walton
2014-05-18 07:03:11

  0

QS, you already provide the ability to get the commissions in an AMM script via the .EntryCommissions and .ExitCommissions fields. I agree it would be nice to have slippage as well. Actually it would be nice if we could set slippage programmatically in the AMM script.


Torsten
2015-01-16 11:58:10

  0

Hi QS,

I would appreciate direct access to slippage in the AMM as well (e.g. pos.EntrySlippage) or more custom variables (var5,var6,..).

It seems like the slippage calculation in the "Statistics" tab does not consider the point value of futures. Could you please check.

Thanks,
Torsten



QuantShare
2015-02-24 10:37:56

  0

Hi,

We will add the ability to access slippage.

Regarding "var..", you can associate an object/class to a Var1 and thus store unlimited variable.

For futures, I am not sure I understand what you mean. Can you please explain Torsten?



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
Trade Weighted Exchange Index
Per Trade SQN100
Fixed Risk per Trade - Position Sizing
Trade Plan - Entries/Profit Target/Stop Loss
Historical trading volatility-based system to adjust trade sizes

How-to Lessons
How to create and trade a Neural Network model
How to plot support and resistance lines automatically
How to optimize a neural network using a genetic algorithm
How to add custom position-based metrics to your trading system
How to get fundamental data for U.S. Stocks

Related Forum Threads
Commissions and Slippage
Slippage and Same-day StopLoss activation
Need downloaded or ascii import of nse equities that trade in fut...
How can I associate a field (value) to a trade in a MM script?
Trade Orders Monitor

Blog Posts
3 Items To Get and Trade the News In QuantShare Platform
How to use QuantShare screener to trade penny stocks
How to predict and trade the stock market using pivot points
Transaction Costs
9 mistakes you should avoid when backtesting an end-of-day stock ...









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.