PureBytes Links
Trading Reference Links
|
Is it possible to auto trade using a percentage of my account balance
instead of a fixed number of shares?
For instance, could I use sometime like this?
PositionSize= -25;
ibc.PlaceOrder( Name(), "Buy", "PositionSize", "MKT", 0,
0, "GTC", True );
I know that the Parameter calls for quantity, but I would like to
order in 100 share increments using up to 1/4 of my account balance
including the stocks already purchased for each order. However, it
would only purchase 4 stocks and the other orders would not be placed.
So that is I had a $10000 balance, each order would use $2500. If a
stock costs $20, the order would be for 100, if another stock cost $10
the order would be for 200, and if another stock costs $30 the order
would not be placed. If I had already purchased 3 stocks, only the
first order would be placed. Is this possible?
Thanks,
Tom
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|