Hi,
I am trying to create a simple strategy using open interest from the data, however, my code was not working, can anyone help me out?
Thank you.
CODE:
Please log in to see this code.
Size:
Color:
1. Is Open Interest present in your data? What kind of data?
2. Are the OI data series named "Open interest"? It is case sensitive and usually should be "Open Interest". You can verify it:
CODE:
Please log in to see this code.
Size:
Color:
Hi Eugene,
1, I imported 1 second bar futures OHLCV plus open interest data with the last field named "Open Interest",
using ASCII file.
2, I executed your code and it displayed the correct number of bars I have.
Size:
Color:
QUOTE:
2, I executed your code and it displayed the correct number of bars I have.
OK, so "Open Interest" is the way to go.
Size:
Color: