Closed Minitour closed 5 years ago
Write a python function, that is given a string, (tweet) will extract the stock symbol of a company (if found).
For example given the tweet
tweet = "GitHub finally has unlimited free repositories! Well done Microsoft!"
def symbol(tweet): # your logic here return (symbol, accuracy)
symb, acc = symbol(tweet)
Output should be MSFT
MSFT
https://github.com/Minitour/BigDataHW4/blob/cdff079a30870b6751b5f0429b5fe25ab6f32308/playground/symbols_algo/.ipynb_checkpoints/Stock%20Symbols%20Algorithm-checkpoint.ipynb
Write a python function, that is given a string, (tweet) will extract the stock symbol of a company (if found).
For example given the tweet
Output should be
MSFT