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
#5
below is the data on which I want to calculate obv value for parameter 10 and 20
Date,Open,High,Low,Close,Adj Close,Volume
2009-12-31,30.447144,30.478571000000002,30.08,30.104286,26.986492,88102700
2010-01-04,30.49,30.642857,30.34,30.572857,27.406532000000002,123432400
2010-01-05,30.657142999999998,30.798571000000003,30.464284999999997,30.625713,27.453915000000002,150476200
2010-01-06,30.625713,30.747142999999998,30.107143,30.138571000000002,27.017222999999998,138040000
2010-01-07,30.25,30.285715000000003,29.864286,30.082857,26.967278000000004,119282800
2010-01-08,30.042856,30.285715000000003,29.865715,30.282858,27.146565999999996,111902700
2010-01-11,30.4,30.428571999999996,29.778571999999997,30.015715000000004,26.907093,115557400
2010-01-12,29.884285,29.967142,29.488571000000004,29.674286,26.601022999999998,148614900
2010-01-13,29.695715000000003,30.132856,29.157142999999998,30.092857000000002,26.976244,151473000
2010-01-14,30.015715000000004,30.065714,29.860001,29.918571000000004,26.820007,108223500
2010-01-15,30.132856,30.228571000000002,29.41,29.418571000000004,26.371792,148516900
2010-01-19,29.761428999999996,30.741428000000003,29.605715000000004,30.719998999999998,27.538433,182501900
2010-01-20,30.701428999999997,30.792856,29.928571999999996,30.247142999999998,27.114555,153038200
2010-01-21,30.297141999999997,30.472857,29.601429,29.724285,26.645842,152038600
2010-01-22,29.540001,29.642857,28.165714,28.25,25.324244,220441900
2010-01-25,28.93,29.242857,28.598571999999997,29.01,26.005541,266424900
2010-01-26,29.421428999999996,30.530001000000002,28.940001000000002,29.42,26.373071999999997,466777500
Reply


Messages In This Thread
RE: error on stock indicator code on balance volume - by yatish - Jul-05-2018, 04:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to accumulate volume of time series amdi40 3 2,330 Feb-15-2022, 02:23 PM
Last Post: amdi40
  Integrating for the volume of a torus in SciPy Nitram 2 3,703 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