[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] share size question



PureBytes Links

Trading Reference Links

Yuki,

You should set ROUND LOT SIZE in the Settings to 1 or 10 or 100
which ever rounding you prefer.
You can control rounding also from the formula by RoundLotSize variable.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Yuki Taga" <yukitaga@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, February 19, 2003 2:14 PM
Subject: [amibroker] share size question


> Tomasz and all,
> 
> In my code, I limit the share size for one particular bank stock to
> 100 shares.  This stock trades around US$5,000 per share, so that's
> plenty.  ^_-
> 
> When I back test this, and the share price is too high for the
> capital I allot to this issue, the back tester correctly down sizes
> my position to what I can afford.  This is fine.  However, other
> times it sends me over 100 shares, and with odd share and fractional
> increments.
> 
> Can I do something to fix this?  (see gif)
> 
> Yuki ^_^
> 
> mailto:yukitaga@xxxxxxxxxxxxx
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 

Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/