Class BybitApiConstants


  • public class BybitApiConstants
    extends Object
    Constants used throughout bybit's API.
    • Field Detail

      • API_CONTENT_TYPE

        public static final String API_CONTENT_TYPE
        HTTP Header to be used for content type.
        See Also:
        Constant Field Values
      • API_KEY_HEADER

        public static final String API_KEY_HEADER
        HTTP Header to be used for API-KEY authentication.
        See Also:
        Constant Field Values
      • SIGN_TYPE_HEADER

        public static final String SIGN_TYPE_HEADER
        HTTP Header to be used for signature type.
        See Also:
        Constant Field Values
      • RECV_WINDOW_HEADER

        public static final String RECV_WINDOW_HEADER
        HTTP Header to be used for receiving window.
        See Also:
        Constant Field Values
      • USER_AGENT_HEADER

        public static final String USER_AGENT_HEADER
        HTTP Header to be used for User Agent.
        See Also:
        Constant Field Values
      • CONNECTION_HEADER

        public static final String CONNECTION_HEADER
        HTTP Header to be used for Connection.
        See Also:
        Constant Field Values
      • BROKER_HEADER

        public static final String BROKER_HEADER
        HTTP Header to be used for Broker Referral Code.
        See Also:
        Constant Field Values
      • DEFAULT_RECEIVING_WINDOW

        public static final long DEFAULT_RECEIVING_WINDOW
        Default receiving window.
        See Also:
        Constant Field Values
      • DEFAULT_PING_INTERVAL

        public static final int DEFAULT_PING_INTERVAL
        Default Ping Pong Heart Beat Request Interval
        See Also:
        Constant Field Values
      • ENDPOINT_SECURITY_TYPE_SIGNED_HEADER

        public static final String ENDPOINT_SECURITY_TYPE_SIGNED_HEADER
        Decorator to indicate that an endpoint requires a signature.
        See Also:
        Constant Field Values
      • TO_STRING_BUILDER_STYLE

        public static org.apache.commons.lang3.builder.ToStringStyle TO_STRING_BUILDER_STYLE
        Default ToStringStyle used by toString methods. Override this to change the output format of the overridden toString methods. - Example ToStringStyle.JSON_STYLE
      • AGENT_NAME

        public static String AGENT_NAME
        Agent Name
      • VERSION

        public static String VERSION
        Current version 1.2.5
      • KEEP_ALIVE

        public static String KEEP_ALIVE
        Keep live connection http 1.1
    • Constructor Detail

      • BybitApiConstants

        public BybitApiConstants()