question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bybit fetchOrders(): Database [db_user_data] not configured

See original GitHub issue

Hello Igor! fetchOrders() stop working

  • OS: Windows
  • Programming Language version: Python
  • CCXT version: 1.38.16
  • Exchange: Bybit testnet
import ccxt
from pprint import pprint
print('CCXT Version:', ccxt.__version__)
exchange = ccxt.bybit({'enableRateLimit': True})
exchange.verbose = True  # uncomment for debugging purposes

exchange.set_sandbox_mode(True)
markets = exchange.load_markets()

print('CCXT Version:', ccxt.__version__)
orders2 = bybit.fetchOrders('BTC/USD')
CCXT Version: 1.38.16

Request: GET https://api-testnet.bybit.com/open-api/order/list?api_key=eqXX1IqKg
JW2OkSqha&recv_window=5000&symbol=BTCUSD&timestamp=1606269315789&sign=25d8d09916
d3f30867ef222582359aaef77cc193824c350b647c98768c9bdcf4 {'Accept-Encoding': 'gzip
, deflate'} None

Response: GET https://api-testnet.bybit.com/open-api/order/list?api_key=eqXX1IqK
gJW2OkSqha&recv_window=5000&symbol=BTCUSD&timestamp=1606269315789&sign=25d8d0991
6d3f30867ef222582359aaef77cc193824c350b647c98768c9bdcf4 200 {'Content-Type': 'ap
plication/json', 'Server': 'nginx', 'Access-Control-Allow-Origin': '*', 'Access-
Control-Allow-Credentials': 'false', 'Content-Encoding': 'gzip', 'Expires': 'Wed
, 25 Nov 2020 01:55:16 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store', '
Pragma': 'no-cache', 'Date': 'Wed, 25 Nov 2020 01:55:16 GMT', 'Content-Length':
'165', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding'} {"ret_code":-1,"re
t_msg":"Database [db_user_data] not configured.","ext_code":"","result":null,"ex
t_info":null,"time_now":"1606269316.023710","rate_limit_status":599,"rate_limit_
reset_ms":1606269316033,"rate_limit":600}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
kroitorcommented, Nov 25, 2020

@Serendepon they’re migrating to v2, i’ll upload a fix asap.

0reactions
shoemoneycommented, Dec 13, 2020

If your messing with the linear side i swear it updates weekly…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Group And Resources – Bybit API Docs - GitHub Pages
Bybit API and WebSocket documentation provides guidance to help you access Bybit's endpoints, their expected outputs, and common errors. For further assistance ...
Read more >
Guides - Bybit
Level up your crypto trading experience. Buy, sell, trade BTC, altcoins & NFTs. Get access to the spot and futures market or stake...
Read more >
Exchanges — ccxt 2.4.71 documentation
fetchCurrencies () : Fetches all available currencies an exchange and returns an associative dictionary of currencies (objects with properties such as code , ......
Read more >
Utility Sub-commands - Freqtrade
Freqtrade offers a lot more configuration possibilities, which are listed in ... True paymium False missing: fetchOrder, fetchOHLCV phemex False Does not ......
Read more >
What is ByBit Testnet? (How to setup a ByBit ... - YouTube
Welcome to the Bybit Digital Course. In this course I will teach you everything I can about how to get started trading on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found