burakoner / OKX.Api

Up-to-date, most-complete, well-organized, well-documented, easy-to-use, multi-task and multi-thread compatible OKX Cryptocurrency Exchange Rest and Websocket Api Wrapper
MIT License
39 stars 15 forks source link

how to change the default OKXApiadress #45

Closed HH-T closed 11 months ago

HH-T commented 12 months ago

how to change the default Environment Endpoints to AWS Environment Endpoints??

burakoner commented 11 months ago

You need to use this code before defining your client instance;

OKXApiAddresses.Default = OKXApiAddresses.AWS;

Then you can create you instance as below

var api = new OKXRestApiClient
var wss = new OKXWebSocketApiClient();