Power-Trade / api-docs

0 stars 1 forks source link

USDT/SPOT market can be traded on Mobile(IOS) but not Web app #51

Closed laisee closed 4 months ago

laisee commented 6 months ago

Able to view and trade USDT SPOT market on IOS Mobile app - but open Orders do not display instead showing on Web

If USDT SPOT is a valid market the Orders should show on Mobile app, otherwise disable access to the USDT SPOT market

USDT SPOT Market can be viewed in Mobile app

image

After adding Buy & Sell orders which are not executed, open Orders not showing on Mobile app

image

But the open Orders can be viewed on Web app

Screenshot 2024-05-07 at 12 09 46
laisee commented 6 months ago

Display of SPOT markets available on Web app

Screenshot 2024-05-07 at 13 32 57
trungpwt commented 6 months ago

USDT-USD is non-tradeable. It should be hidden on mobile apps. So it's an issue in ios app.

laisee commented 6 months ago

Ok - will mark the ticket as [Mobile/IOS]

Mario did mention he thought the product should be available on web and mobile, but he might have been thinking of something different

On Tue, 7 May 2024 at 14:52, trungpwt @.***> wrote:

USDT-USD is non-tradeable. It should be hidden on mobile apps. So it's an issue in ios app.

— Reply to this email directly, view it on GitHub https://github.com/Power-Trade/api-docs/issues/51#issuecomment-2097575991, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNBV2TRWCB4UWJPRMJKG2TZBB23ZAVCNFSM6AAAAABHKGGRPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGU3TKOJZGE . You are receiving this because you authored the thread.Message ID: @.***>

trungpwt commented 6 months ago

Ok - will mark the ticket as [Mobile/IOS] Mario did mention he thought the product should be available on web and mobile, but he might have been thinking of something different On Tue, 7 May 2024 at 14:52, trungpwt @.> wrote: USDT-USD is non-tradeable. It should be hidden on mobile apps. So it's an issue in ios app. — Reply to this email directly, view it on GitHub <#51 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNBV2TRWCB4UWJPRMJKG2TZBB23ZAVCNFSM6AAAAABHKGGRPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGU3TKOJZGE . You are receiving this because you authored the thread.Message ID: @.>

Oh wait, are you testing it on PROD or TEST env? If it's PROD then USDT-USD should appear here because it's tradeable. If it's TEST env then it should be hidden. Please confirm that?

laisee commented 6 months ago

Tested on PROD

On Tue, 7 May 2024 at 18:22, trungpwt @.***> wrote:

Ok - will mark the ticket as [Mobile/IOS] Mario did mention he thought the product should be available on web and mobile, but he might have been thinking of something different … <#m-6428050748281421566> On Tue, 7 May 2024 at 14:52, trungpwt @.> wrote: USDT-USD is non-tradeable. It should be hidden on mobile apps. So it's an issue in ios app. — Reply to this email directly, view it on GitHub <#51 (comment) https://github.com/Power-Trade/api-docs/issues/51#issuecomment-2097575991>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNBV2TRWCB4UWJPRMJKG2TZBB23ZAVCNFSM6AAAAABHKGGRPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGU3TKOJZGE https://github.com/notifications/unsubscribe-auth/ABNBV2TRWCB4UWJPRMJKG2TZBB23ZAVCNFSM6AAAAABHKGGRPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGU3TKOJZGE . You are receiving this because you authored the thread.Message ID: @.>

Oh wait, are you testing it on PROD or TEST env? If it's PROD then USDT-USD should appear here because it's tradeable. If it's TEST env then it should be hidden. Please confirm that?

— Reply to this email directly, view it on GitHub https://github.com/Power-Trade/api-docs/issues/51#issuecomment-2097981938, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNBV2V3WDRV6RDAOUCYO43ZBCTN7AVCNFSM6AAAAABHKGGRPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXHE4DCOJTHA . You are receiving this because you authored the thread.Message ID: @.***>

trungpwt commented 6 months ago

@laisee Ok, so the product USDT-USD spot should appear. @klugjo can help check why it does not appear on the web.

klugjo commented 6 months ago

@trungpwt USDT-USD should be hidden on PT, its only for BitMEX

From Mario:

USDT is only supported for Bitmex users as collateral

laisee commented 6 months ago

Ok, thanks.

There was also an issue displaying open orders for Usdt trades on mobile as well. The orders do show on web app

On Tue, 7 May 2024 at 18:26, trungpwt @.***> wrote:

@laisee https://github.com/laisee Ok, so the product USDT-USD spot should appear. @klugjo https://github.com/klugjo can help check why it does not appear on the web.

— Reply to this email directly, view it on GitHub https://github.com/Power-Trade/api-docs/issues/51#issuecomment-2098004708, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNBV2SFWTJI2BDKESTN3YTZBCT6BAVCNFSM6AAAAABHKGGRPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJYGAYDINZQHA . You are receiving this because you were mentioned.Message ID: @.***>

trungpwt commented 6 months ago

@trungpwt USDT-USD should be hidden on PT, its only for BitMEX

From Mario:

USDT is only supported for Bitmex users as collateral


                "tradeable_entity_id": "64321",
                "symbol": "USDT-USD",
                "tags": ["spot", "USDT", "USD"],
                "price_deliverable_id": "2",
                "price_decimal_places": "8",
                "quantity_deliverable_id": "64329",
                "quantity_decimal_places": "2",
                "buy_trading_limit_deliverable_id": "2",
                "sell_trading_limit_deliverable_id": "64329",
                "tradeability": "tradeable",
                "details": {
                    "simple_market": {
                        "market_id": "0",
                        "settlement_event": {
                            "datetime": {
                                "date": {
                                    "year": "none",
                                    "month": "none",
                                    "day": "none"
                                },
                                "time": {
                                    "hours": "none",
                                    "minutes": "none",
                                    "seconds": "none",
                                    "nanoseconds": "none"
                                }
                            },
                            "timezone": "UTC"
                        }
                    }
                }
            }
        },```

It's tradeable in the response. Hmm.
klugjo commented 6 months ago

It is tradeable but only on the BitMEX App, not the PowerTrade App

klugjo commented 6 months ago

On web its hidden with a feature flag (firebase remote config)

trungpwt commented 6 months ago

@laisee We discussed it internal and it should be hidden on PowerTrade apps.

laisee commented 6 months ago

K - It’s currently visible in current mobile app (IOS) and orders for Usdt are visible on web app

On Tue, 7 May 2024 at 18:46, trungpwt @.***> wrote:

@laisee https://github.com/laisee We discussed it internal and it should be hidden on PowerTrade apps.

— Reply to this email directly, view it on GitHub https://github.com/Power-Trade/api-docs/issues/51#issuecomment-2098059371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNBV2VQPQURVAKG7PPQMMDZBCWIVAVCNFSM6AAAAABHKGGRPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJYGA2TSMZXGE . You are receiving this because you were mentioned.Message ID: @.***>

laisee commented 6 months ago

gentle nudge on this one - checked today and USDT / SPOT market still visible on mobile (IOS) app.

image

klugjo commented 6 months ago

@trungpwt ^^^

laisee commented 4 months ago

Closing this ticket. noticed that USDT visible on DEX also (https://dex-app.power.trade/trade/spot/USDT-USD) - added a new ticket for that: