6
Follow
0
Followers
Python lấy dữ liệu giá thị trường giao ngay của Binance, trả về giá trị rỗng
Created 2024-05-04 14:59:36
3
842
Nhận dữ liệu giá trên thị trường tiền mặt
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
Tại sao lại không có gì trong nhật ký sau khi thực hiện mã trên?
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)
Comment
All comments (3)
- 1

