Questions tagged [ohlc]
84 questions
0
votes
1 answer
OHLC python chart
I'm new to pandas and matplotlib and I'm trying to code some algorithmic trading.
I bought this course, and now I understand more, BUT...
It does not includes sample code for OHLC chart in intraday (I mean, it is not complete)
And there are others…

want_code_that
- 11
- 7
0
votes
1 answer
How to Draw Previous High and Low on Custom Instrument precisely?
Good day,
i have done a indicator which marks the high and the low of the previous day.
It works well but on custom instrument such as :
USDEUR * USDGBP * USDJPY * USDCHF * USDAUD * USDNZD * USDCAD
And, sometimes, it doesn't fit perfectly.
enter…
0
votes
1 answer
What config and options do I need for react-native-highcharts to make a highstock OHLC graph?
I've been going through HighStock API to try and find which config and options I need to pass to the ChartView component in react-native-highcharts to draw my graph. I'm having a hard time finding what combination of config and options will get my…

David Warshawsky
- 142
- 8
0
votes
1 answer
Aggregating financial candlestick data
I have 1 minute OHLCV Candlestick data, and I need to aggregate it to create 15m Candlesticks. The database comes from MongoDB; this is a version in clean Python:
def get_candela(self,tf):
c = dict()
candel = dict()
candele_finale =…

Rbdm
- 39
- 4
-1
votes
1 answer
Cleaning OHLC data
I need to clean some data and I want to know what the most efficient way to go about it. For the data I have i'm missing about 3 yrs of open data, its been replaced with all zero's. I would like to replace these zero by the value of the earlier…

baldr333
- 1
-1
votes
1 answer
Python: Issues with writing comma delimited data to a .csv file
Goal:
Read stock price data in from a .csv file
resample it
finally print the output to a new .csv file whereby all columns are comma delimited.
Issues:
Currently, the program can 1) read in the data and 2) resample it, but when printing to an…

p.luck
- 646
- 2
- 9
- 34
-1
votes
1 answer
Convert Tick data to OHLC with Python (No External Libraries)
Let's say I have data like this :
[
{'time': 1626459705; 'price': 278.989978},
{'time': 1626459695; 'price': 279.437975}
]
Note : This is just a sample data I created myself. In actual there may be any number of transactions per minute. So, data…

Rakesh Poddar
- 183
- 3
- 11
-3
votes
1 answer
Given the min and max of two ranges, is the second range contained in the first?
Given the min and max values of two ranges representing continuous intervals, I want to know if the second range is within the first. Note also that this question has nothing whatsoever to do with Python's range function.
Note that I don't have the…

Asclepius
- 57,944
- 17
- 167
- 143
-3
votes
1 answer
create Aroon Indicator in Python
I want to add aroon (bullish and bearish) indicator column to the data frame of stock price OHLCV. Aroon calculation is here

Mukul Jain
- 1
- 2