Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Custom Connection Provider Creation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • porque
    replied
    Originally posted by hpolthof View Post
    I know this is undocumented/-supported by NinjaTrader, but still it's possible. But i'm having a hard time to implement a custom connection in the connections menu.

    So far I created a CustomConnectOptions class implementation and an AdapterBase implementation with IAdapter and IDisposable. So far so good.

    The adapter is referenced as AdapterClassType within the options implementation.

    I can see the new connection adapter within the NT8 connections configuration window. I can also add this to my connections and write some configuration data on this adapter. However, when I click OK, the new set of connections should normally be stored and appear in the connections menu. But this doesn't happen. When I open the configuration window again the connection is not on the list of selected connections anymore.

    I figure there should be some function, callback or event that should be listened to store it permanently. But after searching for some time I'm lost at this point.

    Is there anyone that could hint me in the right direction? Cheers!


    Hi, have you finally succeeded to create you own connector ?
    Regards

    Leave a comment:


  • NinjaTrader_Jim
    replied
    Welcome to the forums hpolthof!

    We do not provide any information on building custom Connection Adapters. Yes, they are undocumented/unsupported. Only those that are in our OpenConnect program would have access to materials to build Connection Adapters. If you want to discuss entering this program, please email info [at] ninjatraderecosystem [dot] com.

    If there is another topic we can assist with, please don't hesitate to open a new thread.

    Leave a comment:


  • cincai
    replied
    Don't anything you want then ask for the customer service..........

    You think you are a boss ??

    hpolthof

    Leave a comment:


  • hpolthof
    started a topic Custom Connection Provider Creation

    Custom Connection Provider Creation

    I know this is undocumented/-supported by NinjaTrader, but still it's possible. But i'm having a hard time to implement a custom connection in the connections menu.

    So far I created a CustomConnectOptions class implementation and an AdapterBase implementation with IAdapter and IDisposable. So far so good.

    The adapter is referenced as AdapterClassType within the options implementation.

    I can see the new connection adapter within the NT8 connections configuration window. I can also add this to my connections and write some configuration data on this adapter. However, when I click OK, the new set of connections should normally be stored and appear in the connections menu. But this doesn't happen. When I open the configuration window again the connection is not on the list of selected connections anymore.

    I figure there should be some function, callback or event that should be listened to store it permanently. But after searching for some time I'm lost at this point.

    Is there anyone that could hint me in the right direction? Cheers!

Latest Posts

Collapse

Topics Statistics Last Post
Started by kevinenergy, 02-17-2023, 12:42 PM
117 responses
2,766 views
1 like
Last Post jculp
by jculp
 
Started by Mongo, Today, 11:05 AM
5 responses
15 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by traderqz, Today, 12:06 AM
8 responses
16 views
0 likes
Last Post traderqz  
Started by SightCareAubetter, Today, 12:50 PM
0 responses
2 views
0 likes
Last Post SightCareAubetter  
Started by Skifree, Today, 03:41 AM
5 responses
14 views
0 likes
Last Post Skifree
by Skifree
 
Working...
X