Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no historical data #16

Open
tickcharter opened this issue May 2, 2018 · 19 comments
Open

no historical data #16

tickcharter opened this issue May 2, 2018 · 19 comments

Comments

@tickcharter
Copy link

hello, im following the guide charting xbtusd in nt8
my issue is, in my new chart, there is no historical data. It's connect to bitmex but the data always start at new datafeed, there is no past data before that. And when im close it, it always begin again from new datafeed.
Example is, xbtusd now at 9040, there is no data before 9040.
Hope i can get answer in here, thank you
capture

@sblanchard
Copy link

Tick replay enabled?

@ryanfox
Copy link
Contributor

ryanfox commented May 4, 2018

There is an option to specify a date range in the chart widget. This lets you query for historical data.

@tickcharter
Copy link
Author

I'm already trying download historical data, but still no result.

@sblanchard where is this tick replay enabled? sorry for asking, because im still new using nt8

@ryanfox is the option is when we gonna make new chart or in download historical data menu?

@tickcharter
Copy link
Author

im trying tick replay enabled, no results, specify data range also no result.
in options - market data - general, historical and real data, i use bitmex for stock, forex, and futures
and in historical, i enable show tick replay.
im restarting nt8, but in chart, im only got loading...

@sblanchard
Copy link

have you tried turning tick replay off and only loading some 5 minute bars for 1 day?

@sblanchard
Copy link

this plugin seems a bit finicky on newer builds of ninja for some reason. I've had to uninstall and delete my whole folder because I still got some error on it insisting to start downloading Tick data for an instrument despite not having any chart or anything open yet. I've got an older build on another pc where it's working better.

@tickcharter
Copy link
Author

@sblanchard yeah im trying that, still only loading..., still no result :/

@sblanchard
Copy link

Check your trace files for any errors and paste them here

C:\Users\xxx\Documents\NinjaTrader 8\trace

@sblanchard
Copy link

Same error I had... I gave them the solution

2018-05-06 11:18:46:187 Cbi.Instrument.RequestBars (to Provider): instrument='XBTUSD' from='30/04/2018 00.00.00' to='06/05/2018 00.00.00' period='1 Minute'
2018-05-06 11:18:47:563 error retrieving data: The remote server returned an error: (400) Bad Request.
2018-05-06 11:18:47:866 subscribing to quotes for XBTUSD
2018-05-06 11:18:47:866 first quote subscription, connecting to bitmex websocket for quotes
2018-05-06 11:18:47:901 first trade subscription, connecting to bitmex websocket for instrument XBTUSD
2018-05-06 11:18:47:917 Cbi.Instrument.RequestBars (to Provider): instrument='XBTUSD' from='06/05/2018 00.00.00' to='06/05/2018 00.00.00' period='1 Minute'
2018-05-06 11:18:48:067 (My BitMEX) BitmexConnect.SubscribeMarketData Exception=System.ArgumentException: The conversion could not be completed because the supplied DateTime did not have the Kind property set correctly. For example, when the Kind property is DateTimeKind.Local, the source time zone must be TimeZoneInfo.Local.
Parameter name: sourceTimeZone
at System.TimeZoneInfo.ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags, CachedData cachedData)
at NinjaTrader.Data.MarketReplay.OnMarketData(MarketDataType marketDataType, Double price, Int64 volume, DateTime timeLocal)
at NinjaTrader.Cbi.Instrument.MarketDataHandling(MarketDataEventArgs e)
at NinjaTrader.Cbi.Instrument.MarketDataCallback(MarketDataType marketDataType, Double price, Int64 volume, DateTime time, Int64 tickId)
at NinjaTrader.NinjaScript.Adapters.NinjaTraderAdapter.<>c__DisplayClass26_0.b__0(Int32 dataType, Double price, Int64 size, DateTime timestamp)
at BitmexConnect.BitmexConnector.SubscribeMarketData(String symbol, Action4 marketDataCallback) at NinjaTrader.NinjaScript.Adapters.NinjaTraderAdapter.SubscribeMarketData(Instrument instrument, Action5 callback)
2018-05-06 11:18:48:074 ERROR: Panic: Resource 'BitmexConnectErrorSubscribeMarketData' not defined in 'CustomAdapter.Resource'
2018-05-06 11:18:48:339 error retrieving data: The remote server returned an error: (400) Bad Request.
2018-05-06 11:19:13:618 Cbi.Instrument.RequestBars (to Provider): instrument='XBTUSD' from='04/05/2018 00.00.00' to='06/05/2018 00.00.00' period='1 Minute'
2018-05-06 11:19:14:439 error retrieving data: The remote server returned an error: (400) Bad Request.
2018-05-06 11:19:29:090 Cbi.Instrument.RequestBars (to Provider): instrument='XBTUSD' from='04/05/2018 00.00.00' to='06/05/2018 00.00.00' period='1 Minute'
2018-05-06 11:19:29:460 error retrieving data: The remote server returned an error: (400) Bad Request.
2018-05-06 11:20:51:592 Cbi.Instrument.RequestBars (to Provider): instrument='XBTUSD' from='29/04/2018 00.00.00' to='06/05/2018 00.00.00' period='1 Minute'
2018-05-06 11:20:52:075 error retrieving data: The remote server returned an error: (400) Bad Request.

@tickcharter
Copy link
Author

@sblanchard how to apply your solution?

@sblanchard
Copy link

I can't attach it unfort...need programming knowledge and they should either open source the code or fix it.

@tickcharter
Copy link
Author

so..no solutions for me now i guess hehe..thank you for always answering and trying to help @sblanchard

@ryanfox
Copy link
Contributor

ryanfox commented May 7, 2018

@sblanchard You can specify a date range in the chart creation widget. The section labeled "Time Frame".

@sblanchard
Copy link

Yes the default is 5 days, he's actually getting an error if you check the last trace file.

@Cap135
Copy link

Cap135 commented Jun 24, 2018

Doesn't work to on ninja8. There is connect but no data.

@0relmely
Copy link

0relmely commented Jul 8, 2018

hello guys !!

i Think we can obten data from here
https://public.bitmex.com/

but i dont know how its work!!!
I obten .csv files , but we need to fixed to be able it for ninja trader 8

@yanyr
Copy link

yanyr commented Oct 22, 2018

Hi,

I can load some historical data to the chart but I'm not able to load historical data for playback. I would like to use playback because I want to see historical Level II depth chart data also. Is it possible to solve it somehow?

Thanks

@tayron123

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants