Skip to content

Derive

πŸ›  Connector InfoΒΆ

  • Exchange Type: Decentralized Exchange (Dex)
  • Market Type: Central Limit Order Book (CLOB)
Component Status Connector Version V2 Strategies Notes
πŸ”€ Spot Connector βœ… v2.1 Yes Supports MARKET order type
πŸ”€ Perp Connector βœ… v2.1 Yes Supports testnet
πŸ•― Spot Candles Feed
πŸ•― Perp Candles Feed
πŸ““ Connector Guide βœ…

ℹ️ Exchange InfoΒΆ

πŸ”‘ About Rate LimitsΒΆ

  • The system enforces rate limits using a fixed window algorithm, replenishing the request allowance every 5 seconds to maintain system stability. Market makers can access higher rate limits upon request by contacting the support team.

    API

    API

  • Derive Rate Limit: https://docs.derive.xyz/reference/rate-limits

πŸ”‘ How to ConnectΒΆ

Generate API KeysΒΆ

  • Connect

    API

  • Click Home tab

    API

  • Click Developers tab

    API

  • Register your session KEY (i.e your public address e.g metamask)

    API

  • Input a Name and your public address

    API

  • Click Register button to exit. Now you can use your new Session Key.

    API

Add Keys to HummingbotΒΆ

From inside the Hummingbot client, run connect derive:

  • Input a Derive address as Derive Wallet address

    API

  • Input your Subaccount ID

    API

>>> connect derive

Enter Your Derive Wallet address >>>

Enter your wallet private key >>>

Enter your Subaccount ID >>>

If connection is successful:

You are now connected to derive

πŸ”€ Spot ConnectorΒΆ

Integration to spot markets API endpoints

Order TypesΒΆ

This connector supports the following OrderType constants:

  • LIMIT
  • LIMIT_MAKER
  • MARKET

Paper TradingΒΆ

Access the Paper Trade version of this connector by running connect derive_paper_trade instead of connect derive.

If this is not available by default, you can configure Hummingbot to add this paper trade exchange. See Adding Exchanges for more information.

πŸ”€ Perp ConnectorΒΆ

Integration to perpetual futures markets API endpoints

UsageΒΆ

From inside the Hummingbot client, run connect derive_perpetual:

  • Input a Derive address as DerivePerpetual Wallet address

    API

  • Input your Subaccount ID

    API

>>> connect derive_perpetual

Enter Your DerivePerpetual Wallet address >>>
Enter your wallet private key >>>
Enter your Subaccount ID >>>

If connection is successful:

You are now connected to derive_perpetual

Order TypesΒΆ

This connector supports the following OrderType constants:

  • LIMIT
  • LIMIT_MAKER
  • MARKET

Position ModesΒΆ

This connector supports the following position modes:

  • One-way

Paper Trading (Derive Testnet)ΒΆ

This perp exchange offers a paper trading mode: https://testnet.derive.xyz

Afer you create an account and create the API keys, you can enter them by using the connect derive_perpetual_testnet command within the Hummingbot client. Once connected, you should be able to use the testnet with the available perpetual strategies / scripts.

Additional Information: Perp ConnectorΒΆ

Was this page helpful?