Futu OpenD provides two operation modes: visualization and command line. Here is a description of Visualization Futu OpenD which is relatively simple to operate.
It needs to be configured with the private key at the same time.
WebSocket Private Key
WebSocket certificate private key file path.
The private key cannot be configured with a password.
If not configured, WebSocket is not enabled.
It needs to be configured at the same time with the certificate.
WebSocket Authentication Key
Cipher text of key (32-bit MD5 encrypted hexadecimal).
Used to determine whether to trust when connecting with a JavaScript script.
Tips
Visual Futu OpenD provides services by launching command line Futu OpenD, interacted through WebSocket, so the WebSocket function must be started.
To ensure safety of your trading accounts, if the listening address is not local, you must configure a private key to use the trading interface. The quote interface is not subject to this restriction.
When the WebSocket listening address is not local, you need to configure SSL to start it, and a password should not be set during the certificate private key generation.
Ciphertext is represented in hexadecimal after plaintext is encrypted by 32-bit MD5, which can be calculated by searching online MD5 encryption (note that there may be a risk of records colliding with libraries calculated through third-party websites) or by downloading MD5 computing tools. The 32-bit MD5 ciphertext is shown in the red box area (e10adc3949ba59abbe56e057f20f883e):
Futu OpenD reads OpenD.xml in the same directory by default. On MacOS, due to the system protection mechanism, FutuOpenD.app will be assigned a random path at run time, so that the original path can not be found. At this point, there are the following methods:
Execute fixrun.sh under tar package
Specify the configuration file path with the command line parameter -cfg_file, as described below
The log level defaults to the info level. During the system development phase, it is not recommended to close the log or modify the log to the warning, error, fatal level to prevent failure to locate problems.
Enter your account number and password to login.
You need to complete the questionnaire evaluation and agreement confirmation when you log in for the first time.
You can see your account information and quote right, After logging in successfully.
moomoo OpenD provides two operation modes: visualization and command line. Here is a description of Visualization moomoo OpenD which is relatively simple to operate.
It needs to be configured with the private key at the same time.
WebSocket Private Key
WebSocket certificate private key file path.
The private key cannot be configured with a password.
If not configured, WebSocket is not enabled.
It needs to be configured at the same time with the certificate.
WebSocket Authentication Key
Cipher text of key (32-bit MD5 encrypted hexadecimal).
Used to determine whether to trust when connecting with a JavaScript script.
Tips
Visual moomoo OpenD provides services by launching command line moomoo OpenD, interacted through WebSocket, so the WebSocket function must be started.
To ensure safety of your trading accounts, if the listening address is not local, you must configure a private key to use the trading interface. The quote interface is not subject to this restriction.
When the WebSocket listening address is not local, you need to configure SSL to start it, and a password should not be set during the certificate private key generation.
Ciphertext is represented in hexadecimal after plaintext is encrypted by 32-bit MD5, which can be calculated by searching online MD5 encryption (note that there may be a risk of records colliding with libraries calculated through third-party websites) or by downloading MD5 computing tools. The 32-bit MD5 ciphertext is shown in the red box area (e10adc3949ba59abbe56e057f20f883e):
moomoo OpenD reads OpenD.xml in the same directory by default. On MacOS, due to the system protection mechanism, OpenD.app will be assigned a random path at run time, so that the original path can not be found. At this point, there are the following methods:
Execute fixrun.sh under tar package
Specify the configuration file path with the command line parameter -cfg_file, as described below
The log level defaults to the info level. During the system development phase, it is not recommended to close the log or modify the log to the warning, error, fatal level to prevent failure to locate problems.
Enter your account number and password to login.
You need to complete the questionnaire evaluation and agreement confirmation when you log in for the first time.
You can see your account information and quote right, After logging in successfully.