get current price of instruments OR dynamically add series to BarsArray - NinjaTrader Programming | futures io social day trading
futures io futures trading


get current price of instruments OR dynamically add series to BarsArray
Updated: Views / Replies:854 / 1
Created: by evanmedeiros Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

get current price of instruments OR dynamically add series to BarsArray

  #1 (permalink)
Trading Apprentice
massachusetts
 
Futures Experience: Advanced
Platform: ninjatrader
Favorite Futures: stocks
 
Posts: 7 since Oct 2013
Thanks: 2 given, 1 received

get current price of instruments OR dynamically add series to BarsArray

Hi all,
Apologize in advance if this question has been answered previously, tried searching as best I could!

I have a strategy I am developing and there are times I need to calculate the current (or last close) price of an instrument of which my strategy is not running on. Is there any way to get the current price of a stock that was not initialized to the BarsArray at startup via Add(instrument)?

According to Ninjatrader reps there is no "standard" supported way of doing this without initializing instruments at the start of the strategy. But are there any work arounds? Has anyone used the asyncInvoke method used in Pivots indicator that could help me understand if it would be possible to use it this way?

Cbi.Globals.SynchronizeInvoke.AsyncInvoke(new System.Windows.Forms.MethodInvoker(InvalidateNow), null);

How about an outside API call to google finance or some other API just to retrieve the current price of a stock? The key distinction here is that I will not ahead of time (at strategy initialize) which stock I will need to retrieve the current price data for until later on.


Thanks!
Evan

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Reply



futures io > > > > > get current price of instruments OR dynamically add series to BarsArray

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically instantiating an Indicator gomi The Elite Circle 31 April 18th, 2016 07:10 PM
CTA - Series 3, Series 7, Series 9, Series 10, Series 56 NASD exams certifications Big Mike Traders Hideout 41 January 15th, 2015 10:27 AM
volume need to make average price current bid/offer - nt gparkis NinjaTrader 0 February 23rd, 2013 02:41 PM
Method of scripting to project price series IN FRONT of current bar? forrestang NinjaTrader Programming 4 May 2nd, 2012 12:01 PM
Web Tool for Bulk Price Series Download strimp099 Matlab, R project and Python 1 July 16th, 2010 05:40 PM


All times are GMT -4. The time now is 01:52 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-13 in 0.06 seconds with 19 queries on phoenix via your IP 54.92.201.232