Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I want to obtain the type of chart and the period of the chart in the initialize() method.
for example PeriodType.Minute and a period of 1
I can get the Instrument name, but uncertain of to get the others. Any ideas?
I do not think there are any documented ways to do this.
My ultimate goal is to make use of the Add() method using the current chart's details and you can only use the Add() method in the initialize() method.
Can you help answer these questions from other members on NexusFi?
I have been experimenting with adding in the Bid and Ask data series to Delta type indicators.
Doing so provides history data when you refreash - meaning Delta type indicators still have Bid Ask data to calculate with and this is all done without needing an external file to hold the Bid Ask data as is the case with GEOM and others.
I was thinking to keep the Bid Ask data series it in the same Chart Type (Minute, Range, Volume, etc) and same Period to keep coding easier... but since it's proving difficult to get the current charts values gona forgo that.
I then tried settings of Tick and 1, but it I have noticed that refreshes are not providing the same Bid Ask data as OnMarketData does. Something about "non-last-qualifying trade"....
True that, I'm not even concerned about being synchronized, just magnitude, and as you pointed out these are not too useful. One would think that you could align the magnitude of the values returned say from Bid with the manually recorded value from onmarketdata in realtime/playback for a given period of time/volume/tick. But they simply do not. I was told it was due to non-last-qualifying trades. Google that one, it will make you question datafeeds in general. But back to this point, it does not make sense that my datafeed coming in is "correct" and the data that is captured historically (I assume that's what the dataseries does) is different. Yea there may be some architectural reason, but fundamentally that historical data (if that what it was designed to be) is wrong. Sure would be convenient if these worked as I portray they should - but most likely they are working as designed for reasons I don't fully understand.
I wil try here to do an analysis and comparation on different data feeds and platforms to perfom studies involving bid/ask data, like comulative bid/ask difference or delta bars and footprint like.