作者 karlet

feat:修改默认host

@@ -15,7 +15,8 @@ class Api @@ -15,7 +15,8 @@ class Api
15 { 15 {
16 private ?ApiInfo $apiInfo = null; 16 private ?ApiInfo $apiInfo = null;
17 // private string $host = "https://www.okx.com"; 17 // private string $host = "https://www.okx.com";
18 - private string $host = "http://okapi.keetu.com"; 18 + // private string $host = "http://okapi.keetu.com";
  19 + private string $host = "http://okapi.a.indigo888.com";
19 20
20 public function __construct($apiInfo = null, $host = "") 21 public function __construct($apiInfo = null, $host = "")
21 { 22 {
@@ -16,7 +16,8 @@ use function jytools\output; @@ -16,7 +16,8 @@ use function jytools\output;
16 class ExBroker 16 class ExBroker
17 { 17 {
18 // static private $host = 'wss://ws.okx.com:8443'; 18 // static private $host = 'wss://ws.okx.com:8443';
19 - static private $host = 'ws://okws.keetu.com'; 19 + // static private $host = 'ws://okws.keetu.com';
  20 + static private $host = 'ws://okws.a.indigo888.com';
20 static private $pathPrivate = '/ws/v5/private'; 21 static private $pathPrivate = '/ws/v5/private';
21 static private $pathPublic = '/ws/v5/public'; 22 static private $pathPublic = '/ws/v5/public';
22 static private $pathBusiness = '/ws/v5/business'; 23 static private $pathBusiness = '/ws/v5/business';