Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

flyingdutchmen

Ninja Question(s)

Recommended Posts

ninja newbie with some questions

 

thinking more

serious about api trading lately and just getting litle familiar with ninja/zenfire

 

at the moment i am not able to see daily bars in the chartingplatform,

at least no more then the currentbar and even that one didnt start

from actual market open, but somehow i manage to get 6 days

of hourly data in a chart

i dont realy need to see them but those

bars are needet for calcuation so i would like to know if i have acces to the

o/h/l/c data from those bars

 

maybe there are some limitations on the demo and/or zenfire's data?

 

 

can i program an execution skript that is able to use calcuations on daily o/h/l/c

bars from 5-6 bars ago or do i need an aditional datafeed for it ?

 

how long history of daily bars zenfire normally provides ?

 

my main interest are CME/CBOT commodities and interest rates futures,

what would be the best datafeed for my needs if i need at least 5 daily bars ?

 

i only want ninja as execution platform, backtesting i will stick to

my own software; so no more as a week of daily bars are needet

 

any help is apreciated

Edited by flyingdutchmen

Share this post


Link to post
Share on other sites

i was a litle bit confused about the history lenght supplied by zen-fire

 

so i do have a possebility refering to 3 days ago o/h/l/c data by

using 1440 minuts bars

 

thank you that makes sence

maybe not ideal though

 

i will give it a try

 

thx

Share this post


Link to post
Share on other sites

In general, as note - all that oddities that you see will not go away, they become more. I disgustingly demanded a refund yesterday for my NT license given that the more serious stuff I do, the more I get demonstrated that - with all respect they deserve - whoever is in charge of quality control at Ninja should sell burgers at McDonalds and not work in IT anymore ever. The lack of daily data (which is terrific in the oversight) as well as a ton of idiocies in API and implementation is ridiculous. Granted, Ninja Trader is among the better platforms. More shocking than anything else.

 

Btw., you all are aware that Zen-Fire is the "data feed that does not exist"? ;) I mean, if you think Zen-Fire is a technology platform, you probably would also see me as car producer if I just change the manufacturer name on cars I sell? Zen-Fire is a simple wrapper around another provider's API and resells that under their own name. Their API is seriously limited compared to the real deal - probably the reason that Ninja itself does not use the official Zen-Fire API but the one provided by the real technology provider. There is nothing particular great thing about Zen-Fire that you can not get from half a dozen clearing firms if you know what to ask about ;)

 

If you do API programming, I can only sugggest you do the same- stay away from Zen-Fire and use their backend with the "real" api from their technology provider. Not only does this make you more independant, you also get a lot more and cleaner functionality (among them for example audit trails to ask for the history of fills should you experience a down time, and risk allowances of your account). The real API also has (limited) functionality to request historical data (same day only at the moment, but I was told they work on expanding that - not only to go 3 years back, but also considering covering bid/ask - which is tremendously important on some rarely traded instruments where bid and ask still move).

 

If you only need daily bars, you can easily go with somehting like eoddata.com - pretty cheap compared to real time data providers. You may also check out google financial API's (free), even for intra day data (though not in extreme granularity, but a lot better than daily bars).

Share this post


Link to post
Share on other sites

thats a horror story NetTecture

the missing of historical data is what keeping me away sofar from NT,

i dont want to store historical data somewere but be able to open a chart

and view the historical data and the life data at one glimp even if it means

at higher fees/rates.

the charting looks terible. why is it that many people swear on ZenFire's

data and call it to be

much better better for api trading then for example tradestation?

ist is only the better funtionality of level2 and times+sales where tradestation

pretty much fales with their snap-shot data? i wunder what makes NT a

better suitable platform for api then ts?

Share this post


Link to post
Share on other sites

As was said, get another data feed. THat said, they are all limited. There is none offering you full historical feeds - which makes backtesting strategies a little pointless as you can not use filters based on level 2 quote "quality" (i.e. stay out if there is not enough depth, like around major news, when the market gets super-think in some instruments).

 

People loving NInja are mostly not exactly good programmers. TradStation set the bar terribly low, and Ninja tries to stay that low - they seriously abuse the .NET programming model in order to allow a "function like" approach to defining indicators. This is maybe fine for people coming from TS etc., but I sadly earned my life as application architect. I see all the problems of their approach ;)

 

As I have personalyl never really used TS for extensive periods, no comment on that from me ;)

Share this post


Link to post
Share on other sites

Zenfire is an order execution and real time pricing engine, arguably one of the best. As has been pointed out historical data is provided by Ninja themselves.

 

For a platform that is robust and well architected you might want to give NeoTicker a look. Having said that the API takes a bit (lot) of getting used to. The platform is really petty neat for anything that is 'heavy duty'

Share this post


Link to post
Share on other sites

[Qute]Zenfire is an order execution and real time pricing engine, arguably one of the best[/Quote]

 

Wrong. Totally wrong. Zen-Fire is a marketing name for a much more common platform that is developped and maintained by another company. Whoever uses Zen-Fire is buying a repackaged product ;) In fact, Zen-Fire has a weaker API than the original product, because whoever made the API Decided to drop a significant part of the functionality. This is extremely obvious in NInja-Trader which is NOT USING THE ZEN-FIRE API. No joke - if you get the API and look at Ninja you find out they... do not use it. They use the "real deal".

 

Rithmic has a great platform, in use by quite a lot more brokers. That Mirus and others decided to wrap it under a different name. From my experiences, they add pretty much nothing to it (as in: no additional functionality).

 

So, technically, anyone using the Zen-Fire API is doing a stupid thing because he limits himself to ONE Rithmic system (because the Zen-Fire API has all the connections hardcoded), while using the real API he could connect quit a lot more different brokers ;)

Share this post


Link to post
Share on other sites

Right totaly right. It is completely academic whether it is a marketing name, re-packaged, gift wrapped or served in old newspaper that does not detract from it's primary function. We seem to be talking apples and oranges. Your comments are directed at the API (I presume the Ninjatrader API? from your comments it does not seem like you are writing to the ZenFire API) mine are directed at the order execution and pricing platform. If you compare it side by side with other leading platforms (TT for example, which used to hold the crown) it compares very favourably. If you want the timeliest data and fastest order execution it is hard to beat.

 

I too dislike the NinjaTrader architecture and API but that is not my point. I am confused why you blame the Zenfire API for NinjaTraders shortcomings? Are you getting confused, do you mean that NinjaTrader wraps ZenFire's API in a wrapper? What is this 'common platform' you are talking about?

Edited by BlowFish

Share this post


Link to post
Share on other sites

Actually no.

 

But if you use the REAL api, then you can do a LOT more than what the ZenFire API Exposes. THIS is what I blame them for. I actually use the ZenFire API myself. It - sorry - is as bad as the NInja API. Beginner mistakes partially - for example exception handling.

 

If you drop it and use the REAL api (i.e. the one desigend for the technology - a C++ lib file, which incidentially is also what is used to build the official zen fire API), you get a lot more functionality:

 

Examples:

 

* Subscription to exchanges

* Risk analysis information from the backend

* Requests for limited historical data (same day), which still comes in handy when you have to reset routers etc.

 

And in fact a lot more. Basically, Zen-Fire is RIthmic repackaged, and when writing the Zen-Fire API they "forgot" a lot of the nice features of the platform.

Share this post


Link to post
Share on other sites

I still think we are talking about apples and oranges. :) So you where using Ninja but wrote your own code to interface with Zenfire? Wow that sounds like a real pain in the a***. I wonder what drew you to NT in the first place? It sounds as if you might be going for full automation? That certainly is an area where retail is not well served. Did you ever look at NeoTicker?

Share this post


Link to post
Share on other sites

Actually no, I do not use Ninja with my own code. I use both, NT and my own code side by side on different accounts ;)

 

I work on getting NInja totally out.

 

I STARTED by using the Zen-Fire API directly, but realized it takes a little longer than I want to be able to do all things, so I now run NinjaTrader on a separate account side by side. Great for manual order entry etc. I tried programming, but it did not work out.

 

From the account number actually I realized that NInjaTrader is NOT using the Zen-Fire API - and by that time I actually already had access to the REAL api to the Zen-Fire system, which is basically the Rithmic API, which I am now putting into my code. I realized that, btw., bcause the account number that Ninja Trader gave me includes the clearing group, while I could not get the same out of the Zen-Fire API by any means - the API cuts the string, it seems. On top, NInja Trader does not have the Zen-Fire api dll anywhere ;) Guess what - they wrap the Rithmic api themselves, too.

 

My main complaint with Zen-Fire was historic information access. Not like "ok, i need the last 3 weeks" but as in "my internet was down 10 minutes, what fills exactly id i get when and what ticks happened". Zen-Fire has no API to get historical audit info or even 10minute historical quotes. The "real" zen fire API (i.e. bythe producers of the system - which is more widely used than you think, btw.) has. I can ask for all EXECUTIONS back, I can ask for tick data back (one day at the moment, but they plan to expand that).

 

NeoTicker was not on my desk. TickZoom was (discarded), OpenTrader is. I do a lot of automatism stuff at the moment. Just looked at NeoTicker, and the website is as non-informative as possible.

Share this post


Link to post
Share on other sites

 

NeoTicker was not on my desk. TickZoom was (discarded), OpenTrader is. I do a lot of automatism stuff at the moment. Just looked at NeoTicker, and the website is as non-informative as possible.

 

You have to drill down quite a way to find stuff and even then it is written as 'yeah you can do xxxxx' rather than 'this is how you do xxxx'. There are some interesting things in the blogs too. If you email them with a list if things that you need they are (or used to be) pretty good at responding. I have not used it for a long time and have no affiliation btw :)

 

What's your plan now carry on working on R | API?

Share this post


Link to post
Share on other sites

Pretty ridiculous from NeoTicker. Especially in regards to automated trading quite a lot of important questions are the "how". Like - what language. I take more than 5 minutes trying to find out the basics, it shows me it is not a worthy product. They do not care enough ;)

 

My plans for now are easy:

 

* Go on direct trading with NinjaTrader Direct Edition (free from Mirus for my account).

* Automate my trading and data collection using R Api to work against Zen-Fire.

 

The whole thing may turn into an open source and/or closed source framework/product. Not sure.

 

That being said: I am very gratefull to the people at Rithmic. Top notch support. Their API (c++ hardcore, so to say) has some rough edges, but they help me a lot. I am currently busy wrapping that API up in a Managed C++ library for my own use in a C# application ;)

Share this post


Link to post
Share on other sites
Pretty ridiculous from NeoTicker. Especially in regards to automated trading quite a lot of important questions are the "how". Like - what language. I take more than 5 minutes trying to find out the basics, it shows me it is not a worthy product. They do not care enough ;)

 

My plans for now are easy:

 

* Go on direct trading with NinjaTrader Direct Edition (free from Mirus for my account).

* Automate my trading and data collection using R Api to work against Zen-Fire.

 

The whole thing may turn into an open source and/or closed source framework/product. Not sure.

 

That being said: I am very gratefull to the people at Rithmic. Top notch support. Their API (c++ hardcore, so to say) has some rough edges, but they help me a lot. I am currently busy wrapping that API up in a Managed C++ library for my own use in a C# application ;)

 

Well good luck to you keep us posted how its going.

 

Incidentally You can use pretty much any language with NT mind you its really its the API thats important, NeoTicker can be difficult but it does expose most of its guts through it.

Share this post


Link to post
Share on other sites

Hi Guys,

 

How can I get two indexes on same chart? Like NQ + X; not at the bottom like volume bars but at the top with NQ bars.

 

X = tickq;another index; etc;

 

Thanks.

 

Ninja + Mirus

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • Date: 22nd November 2024.   BTC flirts with $100K, Stocks higher, Eurozone PMI signals recession risk.   Asia & European Sessions:   Geopolitical risks are back in the spotlight on fears of escalation in the Ukraine-Russia after Russia reportedly used a new ICBM to retaliate against Ukraine’s use of US and UK made missiles to attack inside Russia. The markets continue to assess the election results as President-elect Trump fills in his cabinet choices, with the key Treasury Secretary spot still open. The Fed’s rate path continues to be debated with a -25 bp December cut seen as 50-50. Earnings season is coming to an end after mixed reports, though AI remains a major driver. Profit taking and rebalancing into year-end are adding to gyrations too. Wall Street rallied, led by the Dow’s 1.06% broadbased pop. The S&P500 advanced 0.53% and the NASDAQ inched up 0.03%. Asian stocks rose after  Nvidia’s rally. Nikkei added 1% to 38,415.32 after the Tokyo inflation data slowed to 2.3% in October from 2.5% in the prior month, reaching its lowest level since January. The rally was also supported by chip-related stocks tracked Nvidia. Overnight-indexed swaps indicate that it’s certain the Reserve Bank of New Zealand will cut its policy rate by 50 basis points on Nov. 27, with a 22% chance of a 75 basis points reduction. European stocks futures climbed even though German Q3 GDP growth revised down to 0.1% q/q from the 0.2% q/q reported initially. Cryptocurrency market has gained approximately $1 trillion since Trump’s victory in the Nov. 5 election. Recent announcement for the SEC boosted cryptos. Chair Gary Gensler will step down on January 20, the day Trump is set to be inaugurated. Gensler has pushed for more protections for crypto investors. MicroStrategy Inc.’s plans to accelerate purchases of the token, and the debut of options on US Bitcoin ETFs also support this rally. Trump’s transition team has begun discussions on the possibility of creating a new White House position focused on digital asset policy.     Financial Markets Performance: The US Dollar recovered overnight and closed at 107.00. Bitcoin currently at 99,300,  flirting with a run toward the 100,000 level. The EURUSD drifts below 1.05, the GBPUSD dips to June’s bottom at 1.2570, while USDJPY rebounded to 154.94. The AUDNZD spiked to 2-year highs amid speculation the RBNZ will cut the official cash rate by more than 50 bps next week. Oil surged 2.12% to $70.46. Gold spiked to 2,697 after escalation alerts between Russia and Ukraine. Heightened geopolitical tensions drove investors toward safe-haven assets. Gold has surged by 30% this year. Haven demand balanced out the pressure from a strong USD following mixed US labor data. Silver rose 0.9% to 31.38, while palladium increased by 0.9% to 1,040.85 per ounce. Platinum remained unchanged. Always trade with strict risk management. Your capital is the single most important aspect of your trading business.   Please note that times displayed based on local time zone and are from time of writing this report.   Click HERE to access the full HFM Economic calendar.   Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE!   Click HERE to READ more Market news. Andria Pichidi HFMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • A few trending stocks at support BAM MNKD RBBN at https://stockconsultant.com/?MNKD
    • BMBL Bumble stock watch, pull back to 7.94 support area with high trade quality at https://stockconsultant.com/?BMBL
    • LUMN Lumen Technologies stock watch, pull back to 7.43 support area with bullish indicators at https://stockconsultant.com/?LUMN
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.