futures io



Custom Adapter 'Brand name is not matching'


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one decs0057 with 2 posts (0 thanks)
    2. looks_two psytopy with 2 posts (0 thanks)
    3. looks_3 sam028 with 2 posts (0 thanks)
    4. looks_4 jeronymite with 1 posts (0 thanks)
    1. trending_up 453 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. 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)

 
Search this Thread
 

Custom Adapter 'Brand name is not matching'

(login for full post details)
  #1 (permalink)
 decs0057 
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?

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
How to get Index/Equity Data for NT?
NinjaTrader
Mt5 Tradestation Integration
TradeStation
Platform & Broker POLL
Brokers
Tickeron
Trading Reviews and Vendors
Freelancer to build an Apps to Control TradeStation (TS) …
TradeStation
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Artificial Intelligence (AI) and Chat GPT
28 thanks
Spoo-nalysis ES e-mini futures S&P 500
27 thanks
New NinjaTrader
27 thanks
Is anyone actually making money?
18 thanks
how to avoid chop
6 thanks

 
(login for full post details)
  #2 (permalink)
 jeronymite   is a Vendor
 
 
Posts: 21 since Jul 2013
Thanks: 6 given, 22 received

Hard to assist without the actual code. Are you able to share?

Reply With Quote
 
(login for full post details)
  #3 (permalink)
 sam028 
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,752 since Jun 2009
Thanks: 3,817 given, 4,621 received



decs0057 View Post
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)
Follow me on Twitter Reply With Quote
 
(login for full post details)
  #4 (permalink)
 decs0057 
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

Attached Files
Register to download File Type: zip AdapterCCN.zip (2.8 KB, 15 views)
Register to download File Type: zip TestCCN.zip (955 Bytes, 15 views)
Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
 psytopy 
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?

Reply With Quote
 
(login for full post details)
  #6 (permalink)
 psytopy 
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.'

Attached Files
Register to download File Type: zip MTAdapter.zip (593.8 KB, 10 views)
Reply With Quote
 
(login for full post details)
  #7 (permalink)
 sam028 
Site Moderator
 
 
sam028's Avatar
 
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 View Post
@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)
Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Custom Adapter 'Brand name is not matching'


Last Updated on May 19, 2023



Copyright © 2023 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts