Contract database remove MT symbols and stop updating

Discuss, post questions here about MTIBBridge the MetaTrader-Interactive Brokers trade-copier

Users who just registered, please write an email to
forum@trade-commander.de
with your username mentioned.
So we can distinguish you from bots.
Thank you
Post Reply
MTM
Posts: 1
Joined: Fri Jan 21, 2022 11:13 am

Contract database remove MT symbols and stop updating

Post by MTM »

hello, I am having problem with some of the MT symbols that are removed from the contract database when MTIB copier is restarted.

When I add the MT Symbols the contract.db file in the api folder do not update (the last modified time do not change from 12:29 despite I am modifying the symbols at 19:00 hours) and if I close the copier and restart it the symbols disappear again.


Why is this happening? How can I solve the issue?

Please help

Thank you


Regarding my post above, I believe that I managed to sort the issue with some MT symbols missing from the contract database once the MTIB copier is stopped and restarted.

I open the contract.db file with SQLite and compiled the missing info for the MT symbols (plus other parameters that were missing in other instruments) and removed all the contracts not in use. This were all the contract deleted virtually every time the copier was started.

Reload the new contract database in the copier and all contracts and MT symbols are there.

Is this a good way of going around the issue when the copier, for whatever reason, doesn't seem to build a correct database?
Is there something corrupt in the files that I should be aware of?

Thank you for your help
Attachments
contract.db not updating.png
contract.db not updating.png (31.56 KiB) Viewed 18329 times
Missing MT Symbols.png
Missing MT Symbols.png (141.36 KiB) Viewed 18329 times

board_admin
Site Admin
Posts: 244
Joined: Mon Apr 24, 2017 3:24 pm

Re: Contract database remove MT symbols and stop updating

Post by board_admin »

You should not write in the database.
Perhaps the MT symbol you like to add, was dublicate?
It must be unique.

Post Reply