Bitcoin Forum

Economy => Exchanges => Topic started by: rockie12_us on September 19, 2019, 10:04:41 PM



Title: poloniex buy array has no success value like bitrex
Post by: rockie12_us on September 19, 2019, 10:04:41 PM
Hi all

Looking at converting my bitrex bot to poloniex but the poloniex buy array does not have a [success] element to know if the purchase succeeded.

How does one know that buy succeeded?

Maybe I am overthinking this one.

Thanks in advance


Title: Re: poloniex buy array has no success value like bitrex
Post by: AdolfinWolf on September 20, 2019, 12:24:11 PM
Hi all

Looking at converting my bitrex bot to poloniex but the poloniex buy array does not have a [success] element to know if the purchase succeeded.

How does one know that buy succeeded?

Maybe I am overthinking this one.

Thanks in advance


their docs state the following:

Quote
Places a limit buy order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.

You can see the output fields here - > https://docs.poloniex.com/#buy

You'll have to come up with a way to log them yourself. ;P