Skip to content

Commit

Permalink
deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
omdv committed Mar 22, 2021
1 parent caa4c17 commit 3c26222
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# DEPRECATION NOTICE
This app is deprecated. I switched to different broker in 2017. I tried to maintain this repo, but it is becoming increasingly difficult mostly due to lack of interest. Many parts of this repo should be viable as long as the Robinhood API stays the same.

# Note
This app is relying on [pandas-datareader](https://pydata.github.io/pandas-datareader/stable/remote_data.html#) for stock historical prices. Over the last couple years multiple APIs were obsoleted by their providers (Google Finance, Morningstar) and as I am no longer a RH client I have no time to keep up with those changes. If you encounter the "Bad Gateway" error or similar it is likely that the current market data source is no longer valid. You are welcome to fork and try different sources of quotes - I will try to fix it, when/if I have time.

Expand Down
4 changes: 2 additions & 2 deletions backend/robinhood_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,14 @@ def demo_orders(self):
orders = pd.DataFrame(index=range(11))
orders['created_at'] = pd.Timestamp('2018-01-02', tz='UTC')
orders['date'] = pd.Timestamp('2018-01-02', tz='UTC')
orders['symbol'] = ['MSFT', 'AAPL', 'CVX', 'XOM', 'BND', 'CAT', 'BA', 'TIF', 'BAC', 'JPM', 'MSFT']
orders['symbol'] = ['MSFT', 'AAPL', 'CVX', 'XOM', 'BND', 'CAT', 'BA', 'BAC', 'JPM', 'MSFT']
orders['current_size'] = 100
orders['signed_size'] = 100
orders['average_price'] = 100.0
orders['fees'] = 0
orders['cumulative_quantity'] = 100
orders['side'] = 'buy'
orders.to_pickle('data/orders.pkl')
orders.to_pickle(self.datafolder + 'orders.pkl')

# one sell order
orders.loc[10, 'side'] = 'sell'
Expand Down

0 comments on commit 3c26222

Please sign in to comment.