/home/pi/PyCryptoBot/coinbaseprotracker/models/CoinbasePro.py:161: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copydf['price'] = df.apply(lambda row: (float(row.executed_value) * 100) / (float(row.filled_size) * 100) if float(row.filled_size) > 0 else 0, axis=1) *** no active position open ***
python3 coinbaseprotracker.py
=== Bot - BTC-USD =======================================================
*** no active position open ***
=== Bot - ETH-USD =======================================================
=== Bot - DOGE-USD =======================================================
/home/pi/PyCryptoBot/coinbaseprotracker/models/CoinbasePro.py:161: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
df['price'] = df.apply(lambda row: (float(row.executed_value) * 100) / (float(row.filled_size) * 100) if float(row.filled_size) > 0 else 0, axis=1) *** no active position open ***
=== Bot - LTC-USD =======================================================
=== Bot - XLM-USD =======================================================
=== Bot - ADA-USD =======================================================
2021-06-22 10:42:34+00:00 ADA-USD buy market 189.26 216.02 1.07 1.1357 done
('Unable to save: ', 'tracker.csv')`