- Forums
- Help
- python retrieves the price data of the currency's spot market and returns null
python retrieves the price data of the currency's spot market and returns null
Author:
RunningBits, Created: 2024-05-04 14:59:36, Updated:
Get price data on the local currency market
def get_binance_spot_market_data():
url = “https://api.binance.com/api/v1/ticker/24hr”
response = requests.get(url)
if response.status_code == 200:
return response.json()
else:
return None
Why is the log empty after executing the above code?
More
- Financial Magic Zone Global KOL Recruitment
- How easy is it to quickly get access to any currency in the Eurozone contract, accurately during the next single transaction?
- The phone's hard drive is turned on like this, the PC is fine.
- What's the error message problem in this diagram, after checking it, it's not a problem, the program can run, it just keeps popping up this error prompt
- For the docker version of the host, it's not the same host after the auto restart.
- Let's see what this error message means.
- What is the meaning of this error message?
- Please show me why you can run it with usdt, no problem, you can't run it with anything else
- How to Write a Contract Stop Loss Engagement
- In addition, the company has also been involved in the development of a number of projects.
- Paying people to create a neutral grid strategy with an API to create Eurotune.
- How does the API create a neutral grid strategy for Eurotrading?
- There's a problem with the instructional policy code in the square, but there's no description in the API documentation.
- Calling for help
- How the inventor got access to Ali Cloud's lightweight server
- How to choose a trading contract?
- Calling for help
- I'm wondering until what language can be used to implement multiple transaction pairs in a single disk in pine.
- Bitmex policy is not used before
- How to convert the amount of the order in the contract transaction into the number of orders
Inventors quantify - small dreamsThe log function can output logs and return only in the debugger.
Inventors quantify - small dreamsThere are some video tutorials on the B station, and you can also add telegrams about crowdfunding issues, or send job applications and community comments.
RunningBitsAnd it is, thank you very much!
Speaking of FMZ platforms, if there are any training courses (online or offline), I want to learn systematically.