![]() |
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Hi everybody,
I'm looking for platform for automated trading futures instruments through Interactive Brokers. Please confirm if NTallows: 1. Restoring strategy state after restarting platform: information about pending orders submitted before must be available as well as about filled orders. 2. Obtain yesterdaty close price for futures (ie. S&P 500 e-mini) from IB (settlement price, seen in TWS by adding "Close" column to the instrument list). |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 90 times in 82 posts
|
Largo,
1) NinjaTrader is capable of almost anything you can imagine through the use of custom-coded C# scripting. Unfortunately, out of the box, NinjaTrader doesn't "remember" the states of orders after a shutdown. Although it would be a long and complicated process, it is possible to code a database connector that can track and store fills, executions, and order status. 2) It is definitely possible to retrieve yesterday's close price. You could use the PriorDayOHLC() indicator and just read the close plot.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you Austin.
ad.1 restoring strategy state is vital thing. How can I know if I today already submitted pending orders? can I read from IB list of pending orders? And can I recognize each one by, for example, order comment? ad.2 I'm not sure if official settlement price is taken from OHLC - it's price from exchange (it's close?) but futures is traded 24/5 (S&P500 @ GLOBEX) |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 90 times in 82 posts
|
Largo, our yet-to-be-released NinjaTrader 7 will include account synchronization features designed to keep your account and strategies working together. Unfortunately the synchronization does not look at orders. Also, it can't recognize orders by order comments. Since NinjaScript is based off of Microsoft's C# language, it would be possible to have these features coded into a strategy, but it would be a complex process. So in short, NinjaTrader can do what you wish, but not out of the box and not without an in-depth project to code up a complete external order management system and database.
Regarding #2, it is possible to specify certain session templates that restrict the time so it would be possible to extract the 4:15pm close price through some manipulation. Let us know if you have any other questions.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Feb 2008
Posts: 67
Thanks: 0
Thanked 0 times in 0 posts
|
Search for the SessionPivots indicator in the forum. It calculates the actual close value for several different contracts.
I don't know if anyone has calculated the settlement price. I believe settlement is the volume weighted average price for the last minute of trading. Does anyone know how to calculate that value? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NT 7 Beta 2 & NT 6.5.1000.14 Error | paulchow2k | Version 7 Beta General Questions & Bug Reports | 3 | 10-26-2009 07:05 AM |
| Sharing the NT internal database between NT instances on different PCs | Jonas | Installation and Licensing | 4 | 12-05-2008 01:35 PM |
| building own continuous chart in NT (Data Storage and backfill in NT) | Rocket130713 | Automated Trading | 3 | 08-25-2008 10:36 PM |
| Give NT Account warning on each NT restart | Jim W. | Suggestions And Feedback | 2 | 02-22-2008 10:22 PM |