Click here to Login





                                                   Showing Skipped Trades

  0

0
Dave W.
2014-12-24 15:27:39


Hello. Is it possible to show trades that were 'skipped' due to lack of available funds in the simulator trade log? Or, if you can't show something that was completely skipped, to always buy 1/100th of 1 share for trades that would otherwise be skipped due to buying power constraints and show the trades in the log that way?


QuantShare
2014-12-25 06:02:37

  0

Best Answer
It is not possible to do that, however you can display more trades by increasing the maximum number of positions.
You can also add this line to a money management script to allow QS to buy stocks even if the weight requirement is not met.

TradingSystemSettings.MinWeight = 0;



Dave W.
2014-12-25 14:22:19

  0

Understood. That said, I'd like to request this a a new feature / enhancement. I'll create a new 'enhancement' thread.


Dave W.
2014-12-25 14:42:11

  0

Is it possible to create an AMM script so that a trade is always taken with a fractional share size (e.g., 0.001 shares) if insufficient margin is available to take a full position? For example, let's say $100 in margin is available and a 5 new signals to enter new positions are received. Could I have an AMM script always open every position when there is insufficient margin using 0.001 shares? Using the AMM script, I could reserve $100 in margin so that enough money is always available to take this type of fractional-share position.

I'd like to find a workaround to do what I'm looking for within QuantShare if feasible, and I think this would be a good option if do-able.

Thoughts?



QuantShare
2014-12-26 02:05:38

  0

You can increase the initial equity and have a script that buys 1 share (no fractional shares). This way, you would be able to take any position.


Dave W.
2014-12-26 13:14:49

  0

Ok. I think that would work.

As an alternative, can I set the buy price to always at $1.00 even if I'm buying SPY and the "real" price is $200.xx+? This way, I'd always buy 1 share and the cost per share would always equal $1.00. Is there an AMM command to set a buy price this way?



QuantShare
2014-12-27 02:41:23

  0

You can update signal orders in MM (Orders.SimulatedOrder). Not the ideal solution. Simulation stats, measures and graphs will be completely wrong as the buy price will be well far from real prices.


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
Strategy Indicator - Percent winning trades for a trading rule
Adaptive Trading System - Percent Winning Trades for the Last N-D...
Put-Call Ratio Index using Market Makers Trades
Adaptive Trading Indicator based on the Return of Past Trades
Buy Falling Stocks Strategy

How-to Lessons
How to add trades from one portfolio to another one
How to import trades into a portfolio
How to calculate the average of a time series using the money man...
How to create volume bar charts
How to hide stock data outside of regular trading hours

Related Forum Threads
Add Skipped Trades Due to Margin Constraints to Trade Log
Graph trades
# of trades
Long vs Short trades in a Long-Short system
Minium number of trades per year in fitness formula is not workin...

Blog Posts
Transaction Costs
How to Backtest an Intraday Stock Trading System with EOD Ranking
How to Optimize a Trading System with Thousands of Billions of Co...
Backtesting a Strategy Based on Bond and Stock Index ETFs
Trading System Analysis: Backtesting report and custom measures









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.