Connected function returns -1 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Connected function returns -1
Updated: Views / Replies:120 / 6
Created: by Aziz Attachments:3

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
 

Connected function returns -1

  #1 (permalink)
Trading Apprentice
delhi india
 
Futures Experience: None
Platform: ninjatrader
Favorite Futures: Currency
 
Posts: 11 since Aug 2017
Thanks: 2 given, 1 received

Connected function returns -1

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Why is it giving me -1?

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.

 
  #3 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,377 since Sep 2013
Thanks: 1,650 given, 3,521 received
Forum Reputation: Legendary


Few questions :
  • Is your Ninjatrader up and running on the same machine ?
  • Did you enable the ATI in Ninjatrader ?
  • Did you leave the settings as standard (port number)
  • Did you allow the port to be accessed in your local firewall ?

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
delhi india
 
Futures Experience: None
Platform: ninjatrader
Favorite Futures: Currency
 
Posts: 11 since Aug 2017
Thanks: 2 given, 1 received

Is your Ninjatrader up and running on the same machine ?
>> yes

Did you enable the ATI in Ninjatrader ?
>> What does this mean? How should I enable it? I have downloaded the Ninja Trader 8 and I have got the demo username and password to connect to futures. I have added those connection details in control center and got connected with the new connection.

Did you leave the settings as standard (port number)
>> I have not changed anything anywhere

Did you allow the port to be accessed in your local firewall ?
>> I have created a Inbound Rule and added the port 36973. Is that all I have to do?

Reply With Quote
 
  #5 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,377 since Sep 2013
Thanks: 1,650 given, 3,521 received
Forum Reputation: Legendary


Aziz View Post
Is your Ninjatrader up and running on the same machine ?
>> yes

Did you enable the ATI in Ninjatrader ?
>> What does this mean? How should I enable it? I have downloaded the Ninja Trader 8 and I have got the demo username and password to connect to futures. I have added those connection details in control center and got connected with the new connection.

Did you leave the settings as standard (port number)
>> I have not changed anything anywhere

Did you allow the port to be accessed in your local firewall ?
>> I have created a Inbound Rule and added the port 36973. Is that all I have to do?

The way that the ATI interface is working "under the hood", is that the DLL you added to your
project, will open a TCP/IP socket communication to NinjaTrader.

You need to enable NinjaTrader to 'listen' on the incomcing port, this is done by wiking the ATI
under the file menu :

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



By default this is 'off'.

The default port is 36973,
You can verify that ninjatrader is listening as follows :

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following user says Thank You to rleplae for this post:
 
  #6 (permalink)
Trading Apprentice
delhi india
 
Futures Experience: None
Platform: ninjatrader
Favorite Futures: Currency
 
Posts: 11 since Aug 2017
Thanks: 2 given, 1 received

Thanks a lot rleplae!! You are just a maestro.

Reply With Quote
The following user says Thank You to Aziz for this post:
 
  #7 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,377 since Sep 2013
Thanks: 1,650 given, 3,521 received
Forum Reputation: Legendary

You're welcome...

Reply With Quote

Reply



futures io > > > > > Connected function returns -1

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

RandBots: AutoTrading Bots to diversify your trading

Oct 24
 

TopstepTrader: Profiting Without Risking Your Own Money

Oct 26

Building Open Source Indicators for NT8 w/Fat Tails @ Lizard Indicators

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ninja Trader connected to Ameritrade joe11 Reviews of Brokers and Data Feeds 2 February 21st, 2015 10:09 AM
How to use if() function to check value returned from cross() function vampirelord AmiBroker 4 March 28th, 2014 12:23 PM
Zenfire Connected, but no green window, transparent, not course changes. smok Reviews of Brokers and Data Feeds 0 June 17th, 2013 07:45 AM
ACSIL: a function that returns the price with the highest volume within a bar yonatan Sierra Chart Programming 14 September 25th, 2012 07:07 PM
Ninja connected to Yahoo - Symbol fail? hedemanninvest NinjaTrader 3 September 27th, 2011 04:59 AM


All times are GMT -4. The time now is 05: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-10-23 in 0.10 seconds with 20 queries on phoenix via your IP 54.167.250.64