CyberPunkMetalHead / gateio-crypto-trading-bot-binance-announcements-new-coins

This is a crypto trading bot that scans the Binance Annoucements page for new coins, and places trades on Gateio
MIT License
1.22k stars 302 forks source link

new_listing.json non created on first run? #3

Closed davidebonavita closed 3 years ago

davidebonavita commented 3 years ago

Hi there! It seems that new_listing.json is not created at the first execution of the script, despise https://www.binance.com/bapi/composite/v1/public/cms/article/catalog/list/query?catalogId=48&pageNo=1&pageSize=15 showing some "good" lines (e.g.

{ "id":69844, "code":"abccb898c2144bfda3647031b2a60bc7", "title":"Binance Will List SuperRare (RARE)", "body":null, "type":null, "catalogId":null, "catalogName":null, "publishDate":null },

or { "id":70224, "code":"7e2ab0778e4b409d857dedcb2d4da175", "title":"Introducing the Lazio Fan Token (LAZIO) Token Sale on Binance Launchpad!", "body":null, "type":null, "catalogId":null, "catalogName":null, "publishDate":null }

davidebonavita commented 3 years ago

Ahh I see that it only reads the first, newest, announcement. My bad