{"id":8027,"date":"2025-09-04T23:22:34","date_gmt":"2025-09-05T04:22:34","guid":{"rendered":"https:\/\/librarytestdev.wpenginepowered.com\/?post_type=doc&#038;p=8027"},"modified":"2025-09-04T23:23:55","modified_gmt":"2025-09-05T04:23:55","slug":"authenticating-a-tt-net-sdk-application","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/apis\/tt-net-sdk\/creating-the-application-framework\/authenticating-a-tt-net-sdk-application\/","title":{"rendered":"Authenticating a TT .NET SDK application"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Instead of username and password, applications written with TT .NET SDK must provide an application key \/ secret pair for authentication. An application key \/ secret pair is a proxy for a user. TT .NET SDK uses different application keys for client-mode and server-mode applications:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>TT .NET SDK Client Side mode<\/li>\n\n\n\n<li>TT .NET SDK Server Side mode \/ TT Core SDK<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">TT .NET SDK application keys are created in the TT Setup application. For more information, see&nbsp;<a href=\"\/user-setup\/us-creating-and-managing-application-keys.html\" target=\"_blank\" rel=\"noreferrer noopener\">Creating and managing application keys<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-a-client-side-application-keysecret-pair\"><a href=\"\/tt-net-sdk\/articles\/af-app-key.html#creating-a-client-side-application-keysecret-pair\"><\/a>Creating a client-side application key\/secret pair<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Using TT .NET SDK Client Side mode requires you to select a usage plan for the application key that can incur additional costs. For more information about the costs associated with these usage plans, contact TT Customer Success.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>PS-Free<\/strong>: Allows the TT .NET SDK application to create a maximum of 200 simultaneous price subscriptions. Available only in the UAT environment.<\/li>\n\n\n\n<li><strong>PS-Low<\/strong>: Allows the TT .NET SDK application to create a maximum of 25 simultaneous price subscriptions. Available only in the prod-sim \/ prod-live environments.<\/li>\n\n\n\n<li><strong>PS-Medium<\/strong>: Allows the TT .NET SDK application to create a maximum of 50 simultaneous price subscriptions. Available only in the prod-sim \/ prod-live environments.<\/li>\n\n\n\n<li><strong>PS-High<\/strong>: Allows the TT .NET SDK application to create a maximum of 200 simultaneous price subscriptions. Available only in the prod-sim \/ prod-live environments.<\/li>\n\n\n\n<li><strong>PS-Reserve<\/strong>: Allows the TT .NET SDK application to create an unlimited number of price subscriptions. Available only in the prod-sim \/ prod-live environments.<strong>Note<\/strong>: PS-Reserve requires a dedicated TT Edge Server. Although you can theoretically make an unlimited number of price subscriptions, the true maximum number of concurrent price subscriptions is limited by how much data that a WebSocket can handle. Requesting only inside market will allow you to make far more price subscriptions that requesting full depth.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Users can create an application key \/ secret pair from within Setup in the TT Platform as follows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Setup, click\u00a0<strong>Users\u00a0<\/strong>in the left navigation panel and select your username in the data grid.<\/li>\n\n\n\n<li>Verify that the\u00a0<strong>Can create TT.NET SDK Client Side key\u00a0<\/strong>setting is enabled. Users must contact their TT Adminstrator if the\u00a0<strong>Can create TT.NET SDK Client Side key\u00a0<\/strong>setting is not available in User Setup.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/enable-sdk-permission.png\"><strong>Warning<\/strong>: Only TT .NET SDK keys work for TT .NET SDK Applications.<\/li>\n\n\n\n<li>Click the\u00a0<strong>App Keys\u00a0<\/strong>tab, and then click\u00a0<strong>New\u00a0<\/strong>in the\u00a0<strong>App Keys\u00a0<\/strong>title bar.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/create-app-key-1-new.png\"><\/li>\n\n\n\n<li>In the\u00a0<strong>Create New Application\u00a0<\/strong>dialog:<ul><li>Enter a unique name for your TT .NET SDK application.<\/li><li>In the\u00a0<strong>Application Key Type\u00a0<\/strong>dropdown, select\u00a0<strong>TT.NET SDK Client Side mode\u00a0<\/strong>.<\/li><li>In the\u00a0<strong>Application Key Usage Plan\u00a0<\/strong>dropdown, select the desired plan.<\/li><\/ul><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/create-app-key-2-new.png\"><\/li>\n\n\n\n<li>Click\u00a0<strong>Create\u00a0<\/strong>.The application key is generated and the application secret is displayed in the Secret field.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/create-app-key-3-new.png\"><\/li>\n\n\n\n<li>Click\u00a0<strong>Copy Secret to Clipboard\u00a0<\/strong>and then paste this application secret somewhere safe. You will need to provide them during the initialization of your TT .NET SDK application.<strong>Warning\u00a0<\/strong>: This is the only time you will be able to copy your new key&#8217;s secret.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/create-app-key-4-new.png\"><\/li>\n\n\n\n<li>To exit and close the\u00a0<strong>Create New Application Key\u00a0<\/strong>screen, click\u00a0<strong>OK\u00a0<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-a-server-side-application-keysecret-pair\"><a href=\"\/tt-net-sdk\/articles\/af-app-key.html#creating-a-server-side-application-keysecret-pair\"><\/a>Creating a server-side application key\/secret pair<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Using TT .NET SDK requires you to select a usage plan for the application key that can incur additional costs. For more information about the costs associated with the usage plans, contact TT Customer Success.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Users can create an application key \/ secret pair from within Setup in the TT Platform as follows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Setup, click\u00a0<strong>Users\u00a0<\/strong>in the left navigation panel and select your username in the data grid.<\/li>\n\n\n\n<li>Verify that the\u00a0<strong>Can create TT.NET SDK Client Side key\u00a0<\/strong>setting is enabled. Users must contact their TT Adminstrator if the\u00a0<strong>Can create TT.NET SDK Client Side key\u00a0<\/strong>setting is not available in User Setup.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/enable-sdk-permission-1.png\"><strong>Warning<\/strong>: Only TT .NET SDK keys work for TT .NET SDK Applications.<\/li>\n\n\n\n<li>Click the\u00a0<strong>App Keys\u00a0<\/strong>tab, and then click\u00a0<strong>New\u00a0<\/strong>in the\u00a0<strong>App Keys\u00a0<\/strong>title bar.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/create-app-key-1-new-1.png\"><\/li>\n\n\n\n<li>In the\u00a0<strong>Create New Application Key\u00a0<\/strong>dialog:<ul><li>Enter a unique name for your TT .NET SDK Server Side mode application.<\/li><li>In the\u00a0<strong>Application Key Type\u00a0<\/strong>dropdown, select\u00a0<strong>TT Core SDK \/ TT.NET SDK Server Side<\/strong>.<\/li><li>In the\u00a0<strong>Application Key Usage Plan\u00a0<\/strong>dropdown, use the\u00a0<strong>TT Core SDK Default<\/strong>\u00a0option.<\/li><\/ul><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/create-server-app-key-2-new.png\"><\/li>\n\n\n\n<li>Click\u00a0<strong>Create\u00a0<\/strong>.The application key is generated and the application secret is displayed in the Secret field.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/create-server-app-key-3-new.png\"><\/li>\n\n\n\n<li>Click\u00a0<strong>Copy Secret to Clipboard\u00a0<\/strong>and then paste this application secret somewhere safe. You will need to provide them during the initialization of your TT .NET SDK application.<strong>Warning\u00a0<\/strong>: This is the only time you will be able to copy your new key&#8217;s secret.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/create-server-app-key-4-new.png\"><\/li>\n\n\n\n<li>To exit and close the\u00a0<strong>Create New Application Key\u00a0<\/strong>screen, click\u00a0<strong>OK\u00a0<\/strong>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p class=\"wp-block-paragraph\">Instead of username and password, applications written with TT .NET SDK must provide an application key \/ secret pair for authentication. An application key \/ secret pair is a proxy for a user. TT .NET SDK uses different application keys for client-mode and server-mode applications:<\/p>\n<p class=\"wp-block-paragraph\">TT .NET SDK application keys are created in the TT Setup application. For more information, see&nbsp;<a href=\"\/user-setup\/us-creating-and-managing-application-keys.html\" target=\"_blank\" rel=\"noreferrer noopener\">Creating and managing application keys<\/a>.<\/p>\n<h2 class=\"wp-block-heading\" id=\"creating-a-client-side-application-keysecret-pair\"><a href=\"\/tt-net-sdk\/articles\/af-app-key.html#creating-a-client-side-application-keysecret-pair\"><\/a>Creating a client-side application key\/secret pair<\/h2>\n<p class=\"wp-block-paragraph\">Using TT .NET SDK Client Side mode requires you to select a usage plan for the application key that can incur additional costs. For more information about the costs associated with these usage plans, contact TT Customer Success.<\/p>\n<p class=\"wp-block-paragraph\">Users can create an application key \/ secret pair from within Setup in the TT Platform as follows:<\/p>\n<h2 class=\"wp-block-heading\" id=\"creating-a-server-side-application-keysecret-pair\"><a href=\"\/tt-net-sdk\/articles\/af-app-key.html#creating-a-server-side-application-keysecret-pair\"><\/a>Creating a server-side application key\/secret pair<\/h2>\n<p class=\"wp-block-paragraph\">Using TT .NET SDK requires you to select a usage plan for the application key that can incur additional costs. For more information about the costs associated with the usage plans, contact TT Customer Success.<\/p>\n<p class=\"wp-block-paragraph\">Users can create an application key \/ secret pair from within Setup in the TT Platform as follows:<\/p>\n","protected":false},"author":2,"template":"wp-custom-template-single-doc-tt-net-sdk","meta":{"_acf_changed":true,"footnotes":""},"docs-category":[770],"class_list":["post-8027","doc","type-doc","status-publish","hentry","docs-category-creating-the-application-framework"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/8027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":0,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/8027\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=8027"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=8027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}