Python Forum
error on stock indicator code on balance volume
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error on stock indicator code on balance volume
#11
I tried the "way" you said I got all in same line but when I used
print(aapl.index)
print(aapl.columns)
I got this
RangeIndex(start=0, stop=1845, step=1)
Index(['Date', 'Open', 'High', 'Low', 'Close', 'Adj Close', 'Volume'], dtype='object')
I want to use obv column in my strategy but as it is not in column I am not able to use it in my conditions

also wen I set date as my index again my all obv values got nan
so basically we canot keep date as a index while displaying obv values??
Reply


Messages In This Thread
RE: error on stock indicator code on balance volume - by yatish - Jul-06-2018, 09:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to accumulate volume of time series amdi40 3 2,413 Feb-15-2022, 02:23 PM
Last Post: amdi40
  Integrating for the volume of a torus in SciPy Nitram 2 3,787 Jan-08-2020, 04:45 PM
Last Post: Nitram

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020