package
1.1.1
Repository: https://github.com/shakexingwu/tradeserver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewClient is a constructor for the Webull-Client client.

# Constants

Endpoints for the Webull API.
Endpoints for the Webull API.
DefaultDeviceID if none is supplied by user.
DefaultDeviceName is a device name.
DefaultTokenExpiryFormat is used to parse the custom datetime returned by Webull.
HeaderKeyAccessToken variable should be used instead of hard-coding the header key for auth tokens.
HeaderKeyDeviceID variable should be used instead of hard-coding the header key for device IDs.
HeaderKeyTradeTime variable should be used instead of hard-coding the header key for trade time.
HeaderKeyTradeToken variable should be used instead of hard-coding the header key for trade auth tokens.
Endpoints for the Webull API.
Endpoints for the Webull API.
PasswordSalt is used for salting your password.
QueryKeyDerivativeIDs variable should be used instead of hard-coding the query parameter derivative IDs.
QueryKeyTickerID variable should be used instead of hard-coding the query parameter for Ticker ID.
Endpoints for the Webull API.
Endpoints for the Webull API.
Endpoints for the Webull API.
Endpoints for the Webull API.
Endpoints for the Webull API.
Endpoints for the Webull API.

# Structs

AuthExpiredError returned when token needs to be refreshed.
Client is a helpful abstraction around some common metadata required for API operations.
ClientMock is a mock for client unit testing.
Credentials implements oauth2 using the webull implementation.

# Interfaces

ClientInf is an abstraction of order related function.