Search found 219 matches

by board_admin
Mon Nov 08, 2021 3:00 pm
Forum: IBPlugin
Topic: Requesting a simple Easy Language/Strategy example using IBPlugin
Replies: 3
Views: 60

Re: Requesting a simple Easy Language/Strategy example using IBPlugin

First of all, there is no BUY statement... : There is, please look a bit closer: order_attribute_str="#1=1#53=BUY#6=MKT#49="; The order is defined by an attribute string. The possible attributes are listed in the help. If I attach that strategy/script to a chart it will just buy a market order Yes....
by board_admin
Sat Nov 06, 2021 1:44 pm
Forum: IBPlugin
Topic: Requesting a simple Easy Language/Strategy example using IBPlugin
Replies: 3
Views: 60

Re: Requesting a simple Easy Language/Strategy example using IBPlugin

The sample that is installed along with IBPlugin and be tested on MultiCharts should run perfectly without any problems also on TS. This sample is discussed in this video: https://youtu.be/lH3GE_pDm48?list=PLYD3H3VGco2AepOKwGwoP_QdcECuxa954 The example demonstrates the most important features. Pleas...
by board_admin
Fri Oct 29, 2021 1:27 pm
Forum: IBPlugin
Topic: What am I doing wrong here?
Replies: 6
Views: 3810

Re: What am I doing wrong here?

So I've been experimenting around with it and I've found that when I change the symbol to EURUSD, with the CONID you use in the demo, the orders go through, but they fire off repeated orders every second. Within a minute I had about thirty buy orders filled. Obviously it's a Demo account so no big ...
by board_admin
Fri Oct 29, 2021 1:19 pm
Forum: IBPlugin
Topic: What am I doing wrong here?
Replies: 6
Views: 3810

Re: What am I doing wrong here?

Hello Sir, when you call a Plugin function, it is executed once. So, if a function is fired multiple times, check your script code. When the EUR.USD symbol works, but yours not, then your symbol is not mapped. In this case, use the Admin Panel to map the symbol for your configuration (which is most ...
by board_admin
Tue Oct 26, 2021 4:30 pm
Forum: IBPlugin
Topic: What am I doing wrong here?
Replies: 6
Views: 3810

Re: What am I doing wrong here?

I checked out your code. I am not so familar with EasyLanguage, but it seems that the CONNECT part has called with each tick, which should not be a problem but causes unnecessary load. Just call Connect and the conid mapping once. The Plugin will keep connection. Find attached corrected script. Make...
by board_admin
Tue Oct 26, 2021 1:18 pm
Forum: IBPlugin
Topic: What am I doing wrong here?
Replies: 6
Views: 3810

Re: What am I doing wrong here?

Where does it crash ?
What TradeStation version. Is it 64 bit TS or 32 bit TS ?
Thank you
by board_admin
Mon Oct 25, 2021 3:31 pm
Forum: IBPlugin
Topic: What DLL functions are available in IB-Plugin?
Replies: 1
Views: 1060

Re: What DLL functions are available in IB-Plugin?

Best TS/MC tutorial for using IBPlugin is the video discussing example: https://youtu.be/lH3GE_pDm48?list=PLYD3H3VGco2AepOKwGwoP_QdcECuxa954 Find the example attached (which is also installed along with IBPlugin) - REGISTER_CONTRACT no longer required. As contract id you are using the IBKR conid (un...
by board_admin
Fri Feb 05, 2021 4:00 pm
Forum: IBPlugin
Topic: How to guarantee the success of order deletion
Replies: 1
Views: 2023

Re: How to guarantee the success of order deletion

Function ibgORDER_STATUS(int64 uid) returns the last order status reported back from IB Server. "However I met a situation where I sent the deletion signal, and the order was not really deleted" This should not happen at all. Function ibgORDER_DELETE (int connection_id, int64 uid) should always work...
by board_admin
Wed Feb 03, 2021 12:37 pm
Forum: IBPlugin
Topic: Account Historical Net Value Enquiry/Calculation by day
Replies: 2
Views: 1954

Re: Account Historical Net Value Enquiry/Calculation by day

IBPlugin records order-,account-,protfolio- and execution data in a sqlite database.
The database is located in:

Code: Select all

C:\trade-commander.com\ibplugin\<your_config>\nbr_pending_orders\api\ibdata.db
There are not encrypted and you can use any sqlite viewer to query data.
by board_admin
Fri Jan 22, 2021 3:29 pm
Forum: IBPlugin
Topic: Correct way of unloading objects/functions to avoid connection issue
Replies: 2
Views: 1946

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

Usually there is no need to call disconnect at all. The plugin keeps connection and if you should change connection parameters, just call connect again with new parametes. Also deinit is not really required. What happens if you skip both: disconnect ant deinit ? I recommend to drop the wrapper and t...
by board_admin
Tue Jan 19, 2021 4:31 pm
Forum: IBPlugin
Topic: Negative UID but successful action when sending order
Replies: 2
Views: 1971

Re: Negative UID but successful action when sending order

In a prior version negative uids where possible to use full range of integer 64 bit.
In latest version 1503 (and i believe version before 1502) uid should always be positive. Microseconds since 2010.
by board_admin
Tue Jan 19, 2021 2:32 pm
Forum: IBPlugin
Topic: License stopped working suddenly
Replies: 4
Views: 2617

Re: License stopped working suddenly

I got your mail and it seems license temporarily granted . So no problem but license seems to be in use elsewhere. This can happen, when you restart host of IBPlugin and the IBPlugin got no chance by host to unregister license on our license server. When you start next time, license server thinks yo...
by board_admin
Tue Jan 19, 2021 2:03 pm
Forum: IBPlugin
Topic: License stopped working suddenly
Replies: 4
Views: 2617

Re: Certificate stopped working suddenly

It seems your license is also used on another machine.
Please write us an email with license id and machine name.
Thank you
by board_admin
Fri Jan 15, 2021 3:06 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 8291

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

New version uploaded:
https://trade-commander.com/de/ibpluginsetup/
Just over install, make sure MetaTrader closed before installation.

Please checkout, if you get comment and let me know. Thank you.
by board_admin
Fri Jan 15, 2021 2:41 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 8291

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

Dont do this please. It works differently. The problem seems only to be in function ibgORDER_SEND in MetaTrader. Just use ibgORDER_SEND_STR instead or wait for fix. MetaTrader has a convenient string implementation which allows to easily create the attribute string for this function using StringForm...
by board_admin
Fri Jan 15, 2021 2:02 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 8291

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

I checked it always outside MetaTrader and got the comment with both function calls.

But when testing in MetaTrader, i also get no comment returned.
Sorry for this. Need to investigate.
by board_admin
Thu Jan 14, 2021 9:25 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 8291

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

There are in fact some changes to version of last year. Please use the help. it was thoroughly revised. For order attributes, the attribute table is what matters. I could not reproduce the problem. I get the order comment returned correctly with attribute id = 49. This function call string comment=i...
by board_admin
Thu Jan 14, 2021 4:27 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 8291

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

Are you sure there are strict pending orders for that conid ?
Strict means, you can see them in TWS with one of the pending status colors (blue,green)
by board_admin
Thu Jan 14, 2021 4:13 pm
Forum: IBPlugin
Topic: Managing multiple positions - is there a "comment" field in position?
Replies: 17
Views: 8291

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

This function makes only sense, when prior called:

Code: Select all

ibgCREATE_PENDING_ORDER_SNAPSHOT
Have you done this ?