Closed kazyka closed 3 years ago
Can you add the exclusion logic in? These shouldn't be picked up:
why don't you just search for first appearance of "Binance Will List" string and scrap its coin symbol?
why don't you just search for first appearance of "Binance Will List" string and scrap its coin symbol?
This could also be done. But we have to be sure that they always type it as that.
Checking the historical you can make sure about that.
new_coin = '' if "Binance Will List " in latest_announcement : open_parent_pos = latest_announcement('(') close_parent_pos = latest_announcement(')') new_coin = latest_announcement[open_parent_pos+1:close_parent_pos] return new_coin else: return new_coin
Can you add the exclusion logic in? These shouldn't be picked up:
It should be fixed now
I can also add to ignore) it will extract
exclusions = ['Futures', 'Margin', 'adds', 'Adds']
But right now it should look after matches in brackets with regex'\(([^)]+)'
i.e. Binance will add (