madwicket

Results comments of madwicket

So I have gone ahead and created a PoloniexChartData dto in marketdata, added the @Get in Poloniex.java, and added the function to call the chart data in PoloniexMarketDataServiceRaw. I have...

I use DateUtils from com.xeiam.xchange.utils.DateUtils; DateUtils.toUnixTime(startTime.getTime()) DateUtils.toUnixTime(endTime.getTime()) Here is an example usage PoloniexMarketDataServiceRaw rawDataService = (PoloniexMarketDataServiceRaw) PoloniexMain.getDataService(); PoloniexChartData[] t = rawDataService.getPoloniexChartData(PoloniexMain.getCurrencyPair(), PoloniexMain.getPeriod(), DateUtils.toUnixTime(startTime.getTime()), DateUtils.toUnixTime(endTime.getTime())); Hope this helps!

And sorry to everyone not doing a PR. I fail at GitHub and tried to do it but utterly messed up.

**I have moved from Poloniex to GDAX so I haven't worked on this code but it should still work. This should be all you need to get started... Here is...

**Also put this in poloniexmarketdataserviceraw** public PoloniexChartData[] getPoloniexChartData(CurrencyPair currencyPair, Integer period, Long startTime, Long endTime) throws IOException { String command = "returnChartData"; String pairString = PoloniexUtils.toPairString(currencyPair); try { PoloniexChartData[] chartData...

Hey man did you ever figure this out? I am running into the same issue. The createTradeHistoryParams() just returns null

Figured it out for anyone else. The code below will get your trades and output your very last one. You have to set the params.setOrderID to something otherwise it will...

Hey guys, I don't mean to hijack this thread but how exactly are you getting the tick history from GDAX? I am pretty stumped as the page retrieve function has...

I have started on @ww3456 advice but have hit a snag and was wondering if I could get some help? I have added this to GDAX.java @GET @Path("products/{baseCurrency}-{targetCurrency}/candles?start={startTime}&end={endTime}&granularity={granularityInSecs}") GDAXHistoricRates[] getHistoricRates(@PathParam("baseCurrency")...

It is weird the output of json is literally this: [[1498924740,2465.98,2468.06,2465.98,2467.83,1.51111634],[1498924680,2465,2470.49,2468.6,2465,22.22688688000002]] There are no json properties, and from their api reads: RESPONSE ITEMS Each bucket is an array of the...