Trading Articles
Article Categories
Article Tools
Custom Adapter 'Brand name is not matching'
Updated May 19, 2023
Top Posters
looks_one
decs0057
with 2 posts (0 thanks)
looks_two
psytopy
with 2 posts (0 thanks)
looks_3
sam028
with 2 posts (0 thanks)
looks_4
jeronymite
with 1 posts (0 thanks)
trending_up
453 views
thumb_up
0 thanks given
group
4 followers
forum
6 posts
attach_file
3 attachments
Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free and simple.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Custom Adapter 'Brand name is not matching'
(login for full post details)
#1 (permalink )
Munich, Germany
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 71 since Feb 2010
Thanks: 15 given,
25
received
I want to create a custom NinjaTrader Adpater connecting to api of data feed from germany.
I created the CustomConnectOptions and implemented Adapter interface.
Configuration of connection is working, but if I connect to adapter this error message is logged
"2023-03-30 08:32:05:192|0|2|My Consorsbank: Brand name is not matching. (Panic)"
Any idea how to resolve this issue?
Can you help answer these questions from other members on futures io?
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
Posts: 21 since Jul 2013
Thanks: 6 given,
22
received
Hard to assist without the actual code. Are you able to share?
(login for full post details)
#3 (permalink )
Site Moderator
Posts: 3,752 since Jun 2009
Thanks: 3,817 given,
4,621
received
decs0057
I want to create a custom
NinjaTrader Adpater connecting to api of data feed from germany.
I created the CustomConnectOptions and implemented Adapter interface.
Configuration of connection is working, but if I connect to adapter this error message is logged
"2023-03-30 08:32:05:192|0|2|My Consorsbank: Brand name is not matching. (Panic)"
Any idea how to resolve this issue?
Hard to say without the source code, but do you have a public override string BrandName => "Consorsbank"; in your ConsorsbankAdapaterOptions.cs ?
Still, writing an adapter from scratch is tricky, it's much simpler to use the External adapter (but unfortunately no the level 2 ), and if the level 2 is required created a back-end using a supported connector which has a known API (IB or IQFeed for example).
Success requires no deodorant! (Sun Tzu)
(login for full post details)
#4 (permalink )
Munich, Germany
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 71 since Feb 2010
Thanks: 15 given,
25
received
attached source file for options and skeleton of adapter
you can use pem file in TestCCN.zip for credentials in options dialog
(login for full post details)
#5 (permalink )
Austin, TX
Experience: Intermediate
Platform: NinjaTrader, MetaTrader
Trading: Forex, Futures
Posts: 5 since Mar 2017
Thanks: 2 given,
0
received
@decs0057 were you able to resolve the issue?
(login for full post details)
#6 (permalink )
Austin, TX
Experience: Intermediate
Platform: NinjaTrader, MetaTrader
Trading: Forex, Futures
Posts: 5 since Mar 2017
Thanks: 2 given,
0
received
@sam028 here's a connection adapter, I've been trying to get to connect but I keep getting the same error, below is my error log. Any suggestion/recommendation is very much welcomed.
cc: @jeronymite
Thank you
Code
2023-05-15 21:22:57:919 (My Custom15) Gui.ControlCenter.OnConnect
2023-05-15 21:22:57:935 (My Custom15) Cbi.Connection.Connect0: status=Disconnected assembly=8.0.28.0 date=2023-05-15 runAsProcess=False
2023-05-15 21:22:57:950 (My Custom15) Cbi.Connection.ConnectionStatusCallback: status=Connecting priceStatus=Connecting previousStatus=Disconnected previousPriceStatus=Disconnected errorCode=NoError nativeError=''
2023-05-15 21:22:57:953 (My Custom15) NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Custom15 status=Connecting priceStatus=Connecting previousStatus=Disconnected previousPriceStatus=Disconnected errorCode=NoError nativeError=''
2023-05-15 21:22:57:965 (My Custom15) Cbi.Connection.Connect1
2023-05-15 21:22:57:978 (My Custom15) Cbi.Connection.Connect2
2023-05-15 21:22:57:978 (My Custom15) Cbi.Connection.Connect3
2023-05-15 21:22:57:982 (My Custom15) Cbi.Connection.CreateAccount: account='Sim101' displayName='Sim101' fcm='' denomination=UsDollar forexLotSize=10000
2023-05-15 21:22:57:988 (My Custom15) Cbi.Account.OnConnectionStatus: account='Sim101' fcm='' status=Connecting previousStatus=Disconnected message=''
2023-05-15 21:22:57:989 (My Custom15) NinjaTrader.Gui.ControlCenter.OnConnectionStatus.DispatcherInvoke: Custom15 status=Connecting priceStatus=Connecting previousStatus=Disconnected previousPriceStatus=Disconnected errorCode=NoError nativeError=''
2023-05-15 21:22:57:991 (My Custom15) Gui.ControlCenter.OnConnectionStatus.Adding: provider=Custom15 status=Connecting priceStatus=Connecting
2023-05-15 21:22:57:991 (My Custom15) Cbi.Account.OnConnectionStatus.PositionExecutions: account='Sim101'
2023-05-15 21:22:58:012 (My Custom15) Cbi.Connection.Connect4
2023-05-15 21:22:58:341 NinjaTrader.Gui.ControlCenter.OnConnectionStatus: foundPriceLoss=False foundTradeLoss=False foundConnectingStatus=True foundConnected=False
2023-05-15 21:22:58:342 NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Status=Connecting
2023-05-15 21:22:58:430 (My Custom15) Cbi.Connection.ConnectionStatusCallback: status=Disconnected priceStatus=Disconnected previousStatus=Connecting previousPriceStatus=Connecting errorCode=Panic nativeError='Brand name is not matching.'
2023-05-15 21:22:58:430 (My Custom15) Core.Connection.Statistics: connectAttempts=1/0.0ms
2023-05-15 21:22:58:432 (My Custom15) Cbi.Account.OnConnectionStatus: account='Sim101' fcm='' status=Disconnected previousStatus=Connecting message=''
2023-05-15 21:22:58:434 Flushing DB thread
2023-05-15 21:22:58:435 (My Custom15) NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Custom15 status=Disconnected priceStatus=Disconnected previousStatus=Connecting previousPriceStatus=Connecting errorCode=Panic nativeError='Brand name is not matching.'
2023-05-15 21:22:58:436 (My Custom15) NinjaTrader.Gui.ControlCenter.OnConnectionStatus.DispatcherInvoke: Custom15 status=Disconnected priceStatus=Disconnected previousStatus=Connecting previousPriceStatus=Connecting errorCode=Panic nativeError='Brand name is not matching.'
(login for full post details)
#7 (permalink )
Site Moderator
Posts: 3,752 since Jun 2009
Thanks: 3,817 given,
4,621
received
Check my previous reply (post #3).
Still, for a Metatrader connect you should use the External connector, it's documented and super easy to deal with.
psytopy
@
sam028 here's a connection adapter, I've been trying to get to connect but I keep getting the same error, below is my error log. Any suggestion/recommendation is very much welcomed.
cc: @
jeronymite
Thank you
Code
2023-05-15 21:22:57:919 (My Custom15) Gui.ControlCenter.OnConnect
2023-05-15 21:22:57:935 (My Custom15) Cbi.Connection.Connect0: status=Disconnected assembly=8.0.28.0 date=2023-05-15 runAsProcess=False
2023-05-15 21:22:57:950 (My Custom15) Cbi.Connection.ConnectionStatusCallback: status=Connecting priceStatus=Connecting previousStatus=Disconnected previousPriceStatus=Disconnected errorCode=NoError nativeError=''
2023-05-15 21:22:57:953 (My Custom15) NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Custom15 status=Connecting priceStatus=Connecting previousStatus=Disconnected previousPriceStatus=Disconnected errorCode=NoError nativeError=''
2023-05-15 21:22:57:965 (My Custom15) Cbi.Connection.Connect1
2023-05-15 21:22:57:978 (My Custom15) Cbi.Connection.Connect2
2023-05-15 21:22:57:978 (My Custom15) Cbi.Connection.Connect3
2023-05-15 21:22:57:982 (My Custom15) Cbi.Connection.CreateAccount: account='Sim101' displayName='Sim101' fcm='' denomination=UsDollar forexLotSize=10000
2023-05-15 21:22:57:988 (My Custom15) Cbi.Account.OnConnectionStatus: account='Sim101' fcm='' status=Connecting previousStatus=Disconnected message=''
2023-05-15 21:22:57:989 (My Custom15) NinjaTrader.Gui.ControlCenter.OnConnectionStatus.DispatcherInvoke: Custom15 status=Connecting priceStatus=Connecting previousStatus=Disconnected previousPriceStatus=Disconnected errorCode=NoError nativeError=''
2023-05-15 21:22:57:991 (My Custom15) Gui.ControlCenter.OnConnectionStatus.Adding: provider=Custom15 status=Connecting priceStatus=Connecting
2023-05-15 21:22:57:991 (My Custom15) Cbi.Account.OnConnectionStatus.PositionExecutions: account='Sim101'
2023-05-15 21:22:58:012 (My Custom15) Cbi.Connection.Connect4
2023-05-15 21:22:58:341 NinjaTrader.Gui.ControlCenter.OnConnectionStatus: foundPriceLoss=False foundTradeLoss=False foundConnectingStatus=True foundConnected=False
2023-05-15 21:22:58:342 NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Status=Connecting
2023-05-15 21:22:58:430 (My Custom15) Cbi.Connection.ConnectionStatusCallback: status=Disconnected priceStatus=Disconnected previousStatus=Connecting previousPriceStatus=Connecting errorCode=Panic nativeError='Brand name is not matching.'
2023-05-15 21:22:58:430 (My Custom15) Core.Connection.Statistics: connectAttempts=1/0.0ms
2023-05-15 21:22:58:432 (My Custom15) Cbi.Account.OnConnectionStatus: account='Sim101' fcm='' status=Disconnected previousStatus=Connecting message=''
2023-05-15 21:22:58:434 Flushing DB thread
2023-05-15 21:22:58:435 (My Custom15) NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Custom15 status=Disconnected priceStatus=Disconnected previousStatus=Connecting previousPriceStatus=Connecting errorCode=Panic nativeError='Brand name is not matching.'
2023-05-15 21:22:58:436 (My Custom15) NinjaTrader.Gui.ControlCenter.OnConnectionStatus.DispatcherInvoke: Custom15 status=Disconnected priceStatus=Disconnected previousStatus=Connecting previousPriceStatus=Connecting errorCode=Panic nativeError='Brand name is not matching.'
Success requires no deodorant! (Sun Tzu)
Last Updated on May 19, 2023