6
Follow
0
Followers
Python obtient les données de prix du marché spot de Binance et renvoie un message vide
Created 2024-05-04 14:59:36
3
842
Obtenir des données sur les prix sur le marché des devises en espèces
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
Pourquoi le journal est vide après l'exécution du code ci-dessus ?
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

