Search found 244 matches

by board_admin
Fri Jan 07, 2022 3:30 pm
Forum: IBPlugin
Topic: Issues Connecting via Paper Account
Replies: 2
Views: 9678

Re: Issues Connecting via Paper Account

Good. Just a comment:

The Admin Tool has 2 main purposes, creating Symbol Mapping Tables (Configurations)
and to maintain license.

So usually no need to run the Admin Tool, because it takes one lock from license.
by board_admin
Thu Dec 02, 2021 3:22 pm
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 16831

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

The error is related to license issue.
Do you have a 2n instance of IBPlugin running ?

What is the order log i pointed to telling ?
by board_admin
Wed Dec 01, 2021 4:45 pm
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 16831

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

Please have a look into your TWS account window.
How many accounts do you can see ?
by board_admin
Wed Dec 01, 2021 12:42 pm
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 16831

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

It is not about expiry, it is about # of IBKR accounts covered by license. Such error is not in the license log. Check the order log: C:\trade-commander.com\ibplugin\configurations\<your_config>\log\api\connection_1\channel_order.log <your_config> is the configuration used when init. Usually "defaul...
by board_admin
Tue Nov 30, 2021 8:27 pm
Forum: IBPlugin
Topic: What's the root cause of this failure of placing order
Replies: 9
Views: 16831

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

the plugin installs a help file where you find all functions documented. For send order function return values, go to this table please: C:/Program%20Files/trade-commander.com/IBPlugin/documentation/tbl_general_error_codes.html Error code -2147483646 points to a license fault. All accounts visible i...
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: 10537

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: 10537

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: 20664

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: 20664

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: 20664

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: 20664

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: 10493

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: 11814

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: 12456

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
Database is 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: 12822

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: 12239

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: 15065

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: 15065

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: 35802

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: 35802

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...