Search found 29 matches

by hkenrique
Tue Jan 11, 2022 9:47 am
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 24126

Re: What's the root cause of this failure of placing order

I had a 2nd license running but now have only 1.
the issue was gone next day and I have been able to place order so far.
I'm convinced that there was some environmental issue.
by hkenrique
Thu Dec 02, 2021 1:44 am
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 24126

Re: What's the root cause of this failure of placing order

I cannot insert image here, but the account window is not showing anything else. just usual balance and stuff.
No clue of another account that exists.
by hkenrique
Wed Dec 01, 2021 4:15 pm
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 24126

Re: What's the root cause of this failure of placing order

Hi, Below is the info of my license administration tool. I removed some private info: more locks used than possible with license temporarily accepted application = ibplugin licenser = trade-commander.org licensee = xxxxxxxxxxxxxx@gmail.com type = commercial subtype = online expiry = 2022-01-04 00:00...
by hkenrique
Wed Dec 01, 2021 6:42 am
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 24126

Re: What's the root cause of this failure of placing order

Hi, Please see the license log, my license won't expire until next year. Could you please confirm if the timeout is on your side and caused the order issue? The order issue occurs during the timeout period indicated in the log. If so I will need to consider some monitoring on such issue that impacte...
by hkenrique
Mon Nov 29, 2021 3:35 pm
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 24126

What's the root cause of this failure of placing order

Hi, My plugin has been working well, but today I encounter an issue when placing order: The return code of order_send function is: -2147483646 -2147483646 is the return code (uid) of the order send function with the plugin: uid= __ib.order_send(......) So could someone tell me what this return value...
by hkenrique
Fri Feb 05, 2021 12:53 pm
Forum: IBPlugin
Topic: Negative UID but successful action when sending order
Replies: 2
Views: 16775

Re: Negative UID but successful action when sending order

I am not sure how to check the version number of the plugin?
by hkenrique
Fri Feb 05, 2021 12:48 pm
Forum: IBPlugin
Topic: How to guarantee the success of order deletion
Replies: 1
Views: 16183

How to guarantee the success of order deletion

Hi, When deleting an order, normally it's deleted quickly. However I met a situation where I sent the deletion signal, and the order was not really deleted. On the next tick, my code still finds the order by ibgCreateOrderSnapshot. (Finally, the order got deleted in around 20 seconds) My own positio...
by hkenrique
Fri Feb 05, 2021 12:37 pm
Forum: IBPlugin
Topic: Account Historical Net Value Enquiry/Calculation by day
Replies: 2
Views: 16961

Re: Account Historical Net Value Enquiry/Calculation by day

Hi, Thank you for your answer. If I understand this correctly. The sqlite db records the activities that go through IBPlugin. What I am really asking is whether I can enquiry the historical data (trades, historical net value, etc) on IB INCLUDING trades from other source, say my manual trade, which ...
by hkenrique
Mon Feb 01, 2021 2:09 am
Forum: IBPlugin
Topic: Account Historical Net Value Enquiry/Calculation by day
Replies: 2
Views: 16961

Account Historical Net Value Enquiry/Calculation by day

Hi sir, Now I need to write a weekly report about my account net value on each day. Currently this is done by my logging into IB account and check the account activities -> reports ..... and mark down the number on each day. I wonder if the IBPlugin can enquiry the account value by date? Or there is...
by hkenrique
Mon Feb 01, 2021 2:06 am
Forum: IBPlugin
Topic: Correct way of unloading objects/functions to avoid connection issue
Replies: 2
Views: 17532

Re: Correct way of unloading objects/functions to avoid connection issue

Thanks. This does not seem to happen recently.
by hkenrique
Fri Jan 22, 2021 2:22 pm
Forum: IBPlugin
Topic: Correct way of unloading objects/functions to avoid connection issue
Replies: 2
Views: 17532

Correct way of unloading objects/functions to avoid connection issue

Hello sir, Following the issue below that I believed to be the license issue: It seems restart of MT may result in such connection issues. I then need to restart my TWS to resolve this. I was told in email that it could be caused by unproper unload of the object/connections. But I did not experience...
by hkenrique
Tue Jan 19, 2021 3:39 pm
Forum: IBPlugin
Topic: Negative UID but successful action when sending order
Replies: 2
Views: 16775

Negative UID but successful action when sending order

Hi, It appears that the return value of order send function sometimes can be negative but successful. long uid= __ib.order_send(__conid_EURUSD ,orderType // defined in file include/trade-commander.com/ibplugin_types.mqh ,size ,0 ,targetPrice ,0 ,0 ,IntegerToString(magicNumber)+","+IntegerToString(po...
by hkenrique
Tue Jan 19, 2021 2:33 pm
Forum: IBPlugin
Topic: License stopped working suddenly
Replies: 4
Views: 20447

Re: License stopped working suddenly

Hi,

I restarted TWS and it worked again.
Thanks.
by hkenrique
Tue Jan 19, 2021 2:16 pm
Forum: IBPlugin
Topic: License stopped working suddenly
Replies: 4
Views: 20447

Re: License stopped working suddenly

Hi,

I sent the info via email to the one who sent me the license key. The license manager reads
more locks used than possible with license temporarily accepted.

This is the only machine I use this license. (but I have another purchased license on my live machine under the same email)
by hkenrique
Tue Jan 19, 2021 2:00 pm
Forum: IBPlugin
Topic: License stopped working suddenly
Replies: 4
Views: 20447

License stopped working suddenly

Hi commanders, My newly purchased license has just stopped working afer I restarted my MT5 just now. Previously it was working fine. But now it's having problem in its log: Tue 2021-Jan-19 21:42:19.511128;C:\projekte\brLic\libtools_lic\src\license\clientcomm.cpp;license_client_module::logon;879;1728...
by hkenrique
Mon Jan 18, 2021 11:52 am
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 46103

Re: Managing multiple positions - is there a "comment" field in position?

Hi,

It works now. Thanks a lot for the help.
by hkenrique
Fri Jan 15, 2021 2:30 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 46103

Re: Managing multiple positions - is there a "comment" field in position?

thanks. I will stick with the old version for now.
by hkenrique
Fri Jan 15, 2021 1:29 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 46103

Re: Managing multiple positions - is there a "comment" field in position?

I'm just trying to find out why my comment cannot be retrieved.
If you don't see a problem of the above order send function then probably it's fine.
by hkenrique
Fri Jan 15, 2021 3:01 am
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 46103

Re: Managing multiple positions - is there a "comment" field in position?

thank you for your detailed explanation. maybe it's something with my order send function that caused the comment cannot be retrieved? my code that sends the order: long uid= __ib.order_send(__conid_EURUSD ,ibOrderType // defined in file include/trade-commander.com/ibplugin_types.mqh ,size ,0 ,targe...
by hkenrique
Thu Jan 14, 2021 5:11 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 46103

Re: Managing multiple positions - is there a "comment" field in position?

Hi,
I also tested the code:
comment = ibgORDER_ATTRIBUTE(IB_PLUGIN_DEF_CONNID,orderId,10);
this code works in the old version to retrieve the comment but seems not working in the new version any more.
I suspect there is some defect in the dll.
It's an important function for me so please take a look.