Hello,
You are mistaken.
You can not replace "requested position size" with just "PosSize" because it is wrong and inaccurate.
The word "REQUESTED" is very important and can not be just removed.
The difference between REQUESTED positions size and actual position size is important
because REQUESTED is what user has asked for. Actual position size may be (and usually) is
smaller due to other constaints like round lots, commission, etc etc
You are mistaken if you think that I did not think about proper naming.
Each and every name in AmiBroker is subject to serious consideration. It is not just random choice as you apparently think.
The fact that you do not know the background behind every name is another story.
Best regards,
Tomasz Janeczko
amibroker.com
TJ --
As for screen real estate, the original automated message is longer than necessary.
"GNTA-201109: Insufficient funds or position size, entry price: 645000, entry size: 0.0454545%, RoundLotSize: 1." Would be sufficient and less confusing. Note that only RoundLotSize is capitalized because it is an AB keyword.
Note that scwalker in his very first post said, "I am getting the error symbol "not entered because of insufficient funds or wrong positionsize/value"". It was ONLY the term reqLotSize that caused his confusion in the first place. Had it been RoundLotSize, I'm guessing he would have found it by himself in either the pdf guide, or F1 help.
Or, "GNTA-201109: Insufficient funds or position size, EntryPrice: 645000, PosSize: 0.0454545%, RoundLotSize: 1.", because EntryPrice, PosSize, and RoundLotSize are all AB keywords.
However, in the second example, the first two are only capitalized when using the custom backtester. A new user is therefore more likely to focus on RoundLotSize first. While only an experienced user of custom backtester would likely focus on either of these.
I'm (too) well familiar with the phrase, "Unnecessary consistency is the hobgoblin of small minds". However, we, especially when it comes to working with something we are not long experienced with, do appreciate consistency.
It also helps those who must work with us, to be consistent so as not to waste their own time and efforts.
-- Keith
On 7/3/2016 4:55 PM, Tomasz Janeczko groups@amibroker.com [amibroker] wrote:
Hello,
Thank you very much for your e-mail.
reqLotSize is a short from "requested round lot size", "reqentryprice" and "reqentrypossize"
are short form requested entry price, requested entry position size.
Please note that screen real estate is limited and using fully spelled out names for everything
would mean a lot of scrolling in Analysis detailed log.
In real world programs that must live on your computer screen
there are other considerations than in "cookbooks".
Best regards,
Tomasz Janeczko
amibroker.com
On 2016-07-03 22:48, Keith McCombs kmccombs@engineer.com [amibroker] wrote:
scwalker --
and TJ (and anyone else involved in the design, testing, implementation, or documentation of hardware, software, or cookbooks) please take note:
When referring to any given entity, use one and only one way to refer to that entity. If however you insist on using more than one, than explain so, at least once, where ever you use either one.
Example: The term 'ReqLotSize' is not used in either the AB Help (F1) or in the pdf file, Amibroker 6.00 User's Guide, downloadable from the AmiBroker.com. Saving only two letters by replacing the word 'round' by 'req' in the message resulted in much wasted time and effort going into scwalker's unsuccessful debugging effort and the composition and reading of seventeen yahoo postings, including this one.
If 'reqlotsize' were a keyword in AB, it would, more than likely, be automatically capitalized and in bold likeRoundLotSize
, by the AB Editor.
Also 'reqentryprice' and 'reqentrypossize', as well.
Why cookbooks: An abbreviation such as tsp. (teaspoon) or gal. (gallon) noted as such. And if you want it to be understood in a more advanced country (that uses metric only) there are differences between US (United States) and UK (Imperial) measurements.
-- Keith
Tomasz, A belated thank you again; the RoundLotSize = 0 solves it. My searching the documentation missed that.
Thanks also to Norgate team for excellent customer service.
Scott
Posted by: Tomasz Janeczko <groups@amibroker.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (20) |
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
EmoticonEmoticon