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.

Why can't I use The OKEX Demo Trading Services?

See original GitHub issue
  • OS:win 10
  • Programming Language version:python 3.6
  • CCXT version:1.70.48

The issues is that:

import ccxt

exchange = ccxt.okex()

exchange.apiKey = "******************************"
exchange.secret = "*******************************"
exchange.password = "******"

exchange.set_sandbox_mode(True)

balance = exchange.fetch_balance()

Error:

ExchangeError:okex GET https://www.okex.com/api/v5/asset/currencies

The API is Demo Trading API.So what’my problem? thanks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
plumblowcommented, Jan 26, 2022

@kroitor when i reboot the spyder,it works.Thank you very much!

0reactions
kroitorcommented, Jan 25, 2022

@plumblow how do you launch that script?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to practice trading crypto on OKX with Demo Trading
Log in to your OKX account and navigate to Trade. Then, click Demo trading to switch to the trading simulation mode. ... Now,...
Read more >
OKX Demo trading API - An Introductory Guide
The OKX Demo trading API is a method to complete transactions, cancel orders, entrust transactions, query details from OKX Demo trading using code, ......
Read more >
OKX Help Center | Customer service and helpdesk
Self-services. Deposit not credited. Withdrawal not arrived ... How do I fix a deposit with tag issues? ... Manage your account. Manage your...
Read more >
Trading service failure issue – Help center - OKX
Trading service failure issue · 1. System downtime description: Between 5:37 am and 7:36 am UTC on Feb. · 2. Why did this...
Read more >
Demo Trading – Help center - OKX
The most likely reason you wouldn't have received a quote on demo trading is because the counterparty(ies) you've selected isn't checking or ......
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