NexusFi: Find Your Edge


Home Menu

 





Can NinjaTrader post a trade automatically upon execution to a website?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 5 posts (3 thanks)
    2. looks_two richw with 4 posts (0 thanks)
    3. looks_3 DoobyWho with 4 posts (0 thanks)
    4. looks_4 Xeno with 3 posts (2 thanks)
    1. trending_up 7,408 views
    2. thumb_up 6 thanks given
    3. group 4 followers
    1. forum 20 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
richw's Avatar
 richw 
Salt Lake City, UT
Legendary Market Wizard in Training
 
Experience: Advanced
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: CL, ES, NQ, YM
Posts: 1,834 since May 2010
Thanks Given: 2,262
Thanks Received: 1,560

I would like to have NinjaTrader post the details of a trade to a website automatically when the trade is filled.

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Is there a way to simulate CONTINUOUS CONTRACT?
NinjaTrader
Has anyone taken trading from Agnieska Wood - Ahead Coach?
Psychology and Money Management
Zombie Indicator Help
NinjaTrader
Pivot Indicator based on Level2 data
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
1 Minute Man
150 thanks
ApexTraderFunding.com experience and review
70 thanks
In futures why does price turn so hard against you
37 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
26 thanks
Learning to Trade with the Big Money
26 thanks
  #3 (permalink)
 Xeno 
UK
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus/Zen
Trading: Futures - bonds, currencies, index
Posts: 288 since Oct 2010
Thanks Given: 70
Thanks Received: 274



richwaters View Post
I would like to have NinjaTrader post the details of a trade to a website automatically when the trade is filled.

Easily. What's the format and method for posting to the website?

Reply With Quote
Thanked by:
  #4 (permalink)
 
richw's Avatar
 richw 
Salt Lake City, UT
Legendary Market Wizard in Training
 
Experience: Advanced
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: CL, ES, NQ, YM
Posts: 1,834 since May 2010
Thanks Given: 2,262
Thanks Received: 1,560

It might change based on having this capability. Can you direct me to information where I can learn how to do this?

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #5 (permalink)
 Xeno 
UK
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus/Zen
Trading: Futures - bonds, currencies, index
Posts: 288 since Oct 2010
Thanks Given: 70
Thanks Received: 274


richwaters View Post
It might change based on having this capability. Can you direct me to information where I can learn how to do this?

Sure. If you want to go to the website via email, type

c# email

into google. If by http, type

c# http

into google. etc etc

Reply With Quote
Thanked by:
  #6 (permalink)
 
richw's Avatar
 richw 
Salt Lake City, UT
Legendary Market Wizard in Training
 
Experience: Advanced
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: CL, ES, NQ, YM
Posts: 1,834 since May 2010
Thanks Given: 2,262
Thanks Received: 1,560

I will look at this. I assume that the C# code would then be put into an indicator script?

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #7 (permalink)
 Xeno 
UK
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus/Zen
Trading: Futures - bonds, currencies, index
Posts: 288 since Oct 2010
Thanks Given: 70
Thanks Received: 274

Sorry, I assumed you knew how Ninja automatically executes a trade. The code would go in the c# code for a strategy, not an indicator.

Go here NinjaTrader Version 7

and look at Ninjascript

Reply With Quote
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,606 since Jun 2009
Thanks Given: 33,327
Thanks Received: 101,912

Question is "can it", answer is yes.

If question is how, answer is much more complicated. Especially if you are not a proficient programmer already. Most popular method would probably be using XML to post the data back to a url.

If you are trying to post to a vbulletin forum like futures.io (formerly BMT), it is much more complicated, because you have thread numbers, user id/password authentication, cookies, and other things to maintain in order to be able to post. You also have to do error checking to make sure the post was accepted.

If you are a php programmer, you could write your server backend to just accept an xml post from ninjatrader and do what you want pretty easily.

Mike



Join the free Markets Chat beta: Real-time Trading Insights

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #9 (permalink)
 
richw's Avatar
 richw 
Salt Lake City, UT
Legendary Market Wizard in Training
 
Experience: Advanced
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: CL, ES, NQ, YM
Posts: 1,834 since May 2010
Thanks Given: 2,262
Thanks Received: 1,560

Thanks for the "heads up," BM. I guess I will have some learning to do. I am not a proficient programmer. When I come upon something I want to be able to do, I then figure out what has to be done to accomplish it. Looks like I will have a lot to learn for this one.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #10 (permalink)
 DoobyWho 
Austin,TX
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, GC, CL, NQ, 6E
Posts: 15 since Jun 2014
Thanks Given: 2
Thanks Received: 3


Sorry to bump such an old thread but I have the same question and I don't want it in a strategy. I use the chart trader / dom to trade and everytime I trade I want to POST it somewhere. I asked NT support and they said there was no "documented" way. If I know the hook to use, I can do the rest.

Reply With Quote




Last Updated on August 5, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts