backpack_perpetual connector default pair.

Open Beginner friendly
#201 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api, backend

Research direction

Start by locating the backpack_perpetual connector's default trading-pair configuration, then reproduce the flow through telegrambot and /trade described in the issue. Done means the default pair is BTC-USDC and the price request no longer uses the invalid BTC-USDT perpetual symbol.

Written by the indexing model from the issue text.

Description

bug
Describe the bug

The default "set trading pair" for backpack_perpetual connector should be "BTC-USDC" vs "BTC-USDT"

ERROR: 500, message="204, message='Attempt to decode JSON with unexpected mimetype: ', url='https://api.backpack.exchange/api/v1/ticker?symbol=BTC_USDT_PERP'", url='http://hummingbot-api:8000/market-data/prices'

Image Image
Steps to reproduce

1.telegrambot
2. /trade
3. select connector "CEX", "backback_perpetual"
4. default trade pairs: BTC-USDT
5. I click on select trading pair and enter BTC only and press enter
6. the pair that comes up for BTC is "BTC-USDC"

Attach required files

No response

Dominant language
Python
Stars
185
Forks
97
Avg merge
5d 21h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hummingbot/condor

All issues in hummingbot/condor

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.