Bitcoin Forum

Alternate cryptocurrencies => Service Discussion (Altcoins) => Topic started by: h311m4n on December 07, 2016, 08:24:09 PM



Title: Poloniex API trading bot, how to get MACD, HIST and SIG?
Post by: h311m4n on December 07, 2016, 08:24:09 PM
Hello,

I was thinking of writing a trading bot in php as a little side project. I'm not a super experienced trader but this should be fun.

Question though, I was reading through the API: https://poloniex.com/support/api/

But I don't see a way to get the MACD, HIST and SIG data for a given candle/time. Am I missing something or do I need to calculate these myself?

Sorry if this is a noobish question but I thought I might ask here before opening a ticket on Polo.

Thanks in advance


Title: Re: Poloniex API trading bot, how to get MACD, HIST and SIG?
Post by: Gunthar on December 07, 2016, 08:27:06 PM
Hello,

I was thinking of writing a trading bot in php as a little side project. I'm not a super experienced trader but this should be fun.

Question though, I was reading through the API: https://poloniex.com/support/api/

But I don't see a way to get the MACD, HIST and SIG data for a given candle/time. Am I missing something or do I need to calculate these myself?

Sorry if this is a noobish question but I thought I might ask here before opening a ticket on Polo.

Thanks in advance

You have to calculate it by yourself. The only chart data coming from that API is weighted average.


Title: Re: Poloniex API trading bot, how to get MACD, HIST and SIG?
Post by: h311m4n on December 07, 2016, 08:27:45 PM
Hello,

I was thinking of writing a trading bot in php as a little side project. I'm not a super experienced trader but this should be fun.

Question though, I was reading through the API: https://poloniex.com/support/api/

But I don't see a way to get the MACD, HIST and SIG data for a given candle/time. Am I missing something or do I need to calculate these myself?

Sorry if this is a noobish question but I thought I might ask here before opening a ticket on Polo.

Thanks in advance

You have to calculate it by yourself. The only chart data coming from that API is weighted average.

Ah OK! Thanks for the quick response.