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

[amibroker] Testing - # of contracts



PureBytes Links

Trading Reference Links

Hi All:

I am still in the learning mode here  but I'm trying to get through
the learning curve asap.... I tried almost everything to get the
testing results based on 1 contract basis (futures mode).

I tried the following in my code (one or all):
//PositionSize = MarginDeposit = 1;
SetOption("MaxOpenPositions", 1 );
SetPositionSize(1, spsShares);

in my code and I always get different position count - pic attached..

I know it must be something simple..

tks/Paul