PureBytes Links
Trading Reference Links
|
Hi Barry or other folks,
Sorry to dig out this old post. I am working on a AFL plugin DLL to receive autotrade signals from Collective2 and need to understand how to call IBC from within the DLL.
I was planning to use Trader68 to do autotrading for Collective2 but found that TWS only allows one master client and I have my own AT system running though Amibroker + IBC. So the only solution is to develop my own C2Gateway.dll and make it part of the Amibroker + IBC setup. It does not seem to be a difficult tasks just a lot of XML parsing work. I may release the dll if it becomes useful.
Thanks,
- Mark
On Thu, Mar 20, 2008 at 2:15 PM, Barry Scarborough <razzbarry@xxxxxxxxxxxx> wrote:
I am using Visual C++ and I am trying to put my trading code in a DLL.
Can I call IBC from within the DLL? If so what is the syntax.
or do I have to call back to the AB indicator and call IBC from there?
My code is currently part of an indicator.
Can I call _TRACE from within the DLL functions? If so is the syntax
the same as from withing AB?
If I understand it, when AB starts it starts the DLLs. Once initiated
does the DLL does persist until AB is closed? The issue is about static
variables. I plan to put them in global scope and want the data in them
to persist until AB is closed.
Thanks,
Barry
__._,_.___
**** IMPORTANT PLEASE READ ****
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/
__,_._,___
|