Scripts: calculatelots

 

calculatelots:

some people worked as ib , they used to need to calclute total trade lotes. here it is.

Author: stone

 

good ide friend,

i try it, but output is 0.01 lots, though there is no trade at all

any wrong?

and how if the result is just closed trades, exclude limit order


thx

 

the result is closed orders.

and the only optime is start from startime and end from endtime will be caculated.

please read the source code see what it is. any question contact me. tell me your account and invest password so i can make same test as what you have done.

 

insteresting. i don't know why .

tell me some info of your account.

it is exclude limit order.

 
I tried. But it's not exactly. 
Reason: