# 全量下载币安数据用于BWB3 **Published by:** [KeepLearning](https://paragraph.com/@keeplearning-2/) **Published on:** 2024-01-14 **URL:** https://paragraph.com/@keeplearning-2/bwb3 ## Content py文件: download_binance_1h_spot_and_swap.py 下载完后记得检查error list中的文件,有些好像下载会有问题。 这样一个个下载非常慢,因为是全量数据,太快了容易被BN封了,能搞一个增量数据下载最好了。 必须加上下面这句话 df_result['symbol'] = df_result['symbol'].str.replace('USDT', '-USDT') 不然会导致无法选出空头。在 BWB3 transfer_swap这个函数里会有问题。 ## Publication Information - [KeepLearning](https://paragraph.com/@keeplearning-2/): Publication homepage - [All Posts](https://paragraph.com/@keeplearning-2/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@keeplearning-2): Subscribe to updates