ExchangeSharp icon indicating copy to clipboard operation
ExchangeSharp copied to clipboard

Add "special treatment" coin status field to "ExchangeMarket"

Open TumanVYozhike opened this issue 1 year ago • 5 comments
trafficstars

Hello,

Thank you for providing the trading instrument. Could you please add a "special attention" "st" status field for coins in the class "ExchangeMarket"? It would be very helpful.

Thank you in advance!

Best regards,
Evgeniy

TumanVYozhike avatar Sep 20 '24 11:09 TumanVYozhike

You'd have to be more specific. Easiest way is to create a Pull Request with what you mean.

vslee avatar Sep 20 '24 21:09 vslee

I apologize for not explaining my request clearly earlier.

On the Kucoin cryptocurrency exchange, coins that become candidates for delisting are marked as "st" or "special treatment."

When making a GET request to:

  • https://api.kucoin.com/api/v1/symbols for all trading pairs, or
  • https://api.kucoin.com/api/v1/symbols/BTC-USDT for a specific trading pair,

we receive the following response:

copy symbol "BTC-USDT" name "BTC-USDT" baseCurrency "BTC" quoteCurrency "USDT" feeCurrency "USDT" market "USDS" baseMinSize "0.00001" quoteMinSize "0.1" baseMaxSize "10000000000" quoteMaxSize "99999999" baseIncrement "0.00000001" quoteIncrement "0.000001" priceIncrement "0.1" priceLimitRate "0.1" minFunds "0.1" isMarginEnabled true enableTrading true st false

Here, "st false" indicates whether the coin is a candidate for delisting.

As far as I understand, your library currently does not provide a way to check this status. Therefore, I believe it would be beneficial to add the corresponding field to the ExchangeMarket class.

Unfortunately, I am not proficient enough in programming to understand what changes need to be made to your code to implement this functionality or how to create a request for extraction. Hence, I am reaching out in this manner.

Thank you for considering my request.

Translated using ChatGPT.

TumanVYozhike avatar Sep 22 '24 18:09 TumanVYozhike

If I’m mistaken and the "st" status can be obtained using your library, please explain how to do it. Unfortunately, I couldn’t find the necessary information in the documentation.

Thank you in advance for your help!

TumanVYozhike avatar Sep 22 '24 18:09 TumanVYozhike

Can you check to see if any other exchanges provide this data? Usually, we like to add things that are common between multiple exchanges.

vslee avatar Sep 23 '24 00:09 vslee

I couldn't find information indicating that other exchanges provide such data. It's likely that KuCoin recently added the ability to retrieve the "st" status of a coin via their API, as making a request to https://api.kucoin.com/api/v1/symbols/BTC-USDT shows the "st" field, but there is no mention of this in the documentation at https://www.kucoin.com/docs/rest/spot-trading/market-data/get-symbols-list.

TumanVYozhike avatar Sep 23 '24 17:09 TumanVYozhike