View Full Version : MORE OF TIME STOP AND INITILIZE FUNCTION
gawdib
25th December 2003, 06:52 AM
tHE manual mentions the the "initialize" command makes certain commands ineffective. How does this work? Any time the "initialize function is there, everything is no good? only the commands that follow afterward? only the commands that preceded it? very puzzling. are there certain coommands that it allows and others not? thank you.
David Samborsky
29th December 2003, 01:39 AM
the manual mentions the the "initialize" command makes certain commands ineffective
It doesn't actually make the commands ineffective it just resets them to their default state (usually inactive). Because the external RecordTrades control functions are 'sticky' it's a good idea to reset them all to their default state and then call the approriate control functions before you call the RecordTrades function again. Of course you don't have to call the Initialize function everytime but just bare in mind that because the control functions are sticky their effects will still be active the next time you call the RecordTrades function.
For example you may have a multiple trading system with calls to multiple RecordTrades function. Each RecordTrades function will have a different set of parameters. In this case it's a good idea to call the Initialize function and then make calls to the appropriate control functions before you call the RecordTrades function otherwise the effects of calls to previous control functions may still be active when you call the RecordTrades function again.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.