I read in the online manual that "LotAmount" is the "Number of contracts for 1 lot of the asset". I also read that "In the description, a contract is always 10,000 units for forex pairs" on the same page. So for a micro lot account of forex for example, the LotAmount should be 0.1, not 1000, right? Or I have mistakenly understanding somewhere?
LotAmount Number of contracts for 1 lot of the asset; accessible with the LotAmount variable. Smallest amount that you can buy or sell with your broker without getting the order rejected or an "odd lot size" warning. For forex the LotAmount is normally 1000 on a micro lot account, 10000 on a mini lot account, and 100000 on standard lot accounts. Index CFDs or crypto currencies can have a LotAmount less than one unit, such as 0.1 NASDAQ contracts, or 0.0001 Bitcoins. For stocks and most other assets it's normally 1 unit per lot.
A negative value in this field is interpreted as a multiplier for options contracts, and accessible with the Multiplier variable. The LotAmount is then 1. For futures the LotAmount is normally identical to the options multiplier.