LBank-exchange / lbank-official-api-docs

Official Documentation for the LBank
https://www.lbank.com
29 stars 19 forks source link

Almost no pairs are working (Error 10008) #29

Open slawomir-pryczek opened 12 months ago

slawomir-pryczek commented 12 months ago

Basically spent some time on it so it would probably save some time for others.

Almost all pairs are not working using this API, even the basic ones like eth_usdt. The API error 10008 / Invalid Trading Pair means that the trading pair is not supported and the support is depending on official announcement. Also querying history is not supported for such pairs. That's the info I got from lbank support.

Edit: Some readonly APIs (eg. get ticker, get supported pair) are working even for not-supported pairs, so that could be misleading.

The only way to automate trading using such pairs (that is not official) is to call the website's AJAX endpoints with proper cookies / headers.

bestnaf commented 5 months ago

Is there any API endpoint to get API enabled pairs list?

Arisqiu commented 2 months ago

Is there any API endpoint to get API enabled pairs list?

@LBank_Exchange Contact me if you want to trade through API on LBank! TG:@ChildrenQ

协助接入LBank API,量化策略交易 TG:@ChildrenQ

Arisqiu commented 2 months ago

Basically spent some time on it so it would probably save some time for others.

Almost all pairs are not working using this API, even the basic ones like eth_usdt. The API error 10008 / Invalid Trading Pair means that the trading pair is not supported and the support is depending on official announcement. Also querying history is not supported for such pairs. That's the info I got from lbank support.

Edit: Some readonly APIs (eg. get ticker, get supported pair) are working even for not-supported pairs, so that could be misleading.

The only way to automate trading using such pairs (that is not official) is to call the website's AJAX endpoints with proper cookies / headers.

@LBank_Exchange Contact me if you want to trade through API on LBank! TG:@ChildrenQ

协助接入LBank API,量化策略交易 TG:@ChildrenQ

bestnaf commented 2 months ago

I still want to trade api yes, if it does work now

On Fri, Apr 26, 2024, 11:52 Arisqiu @.***> wrote:

Is there any API endpoint to get API enabled pairs list?

@LBank_Exchange Contact me if you want to trade through API on LBank! @.***

协助接入LBank API,量化策略交易 @.***

— Reply to this email directly, view it on GitHub https://github.com/LBank-exchange/lbank-official-api-docs/issues/29#issuecomment-2078938681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRHOHKNTVUYCWD6GILNSQDY7IIVBAVCNFSM6AAAAAA2FN5UD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYHEZTQNRYGE . You are receiving this because you commented.Message ID: @.***>

MohamadSafi commented 1 month ago

what exactly do you mean by calling the website's AJAX endpoints with proper cookies / headers? how is that possible and how should I know the AJAX endpoint for a website?