PyPerp icon indicating copy to clipboard operation
PyPerp copied to clipboard

Streaming WebSocket API support

Open oberstet opened this issue 4 years ago • 1 comments

Hi there! First, thanks for your project, appreciated that you share as OSS!

Q: Do you plan to support the streaming WebSocket API? As in https://docs.dydx.exchange/#v3-websocket-api


Other notes:

  • https://discord.com/channels/687397941383659579/791219515089485874/908467798626431056
  • https://docs.perp.fi/sdk-documentation/smart-contract-javascript-dev-guide

And this additional WebSocket URL wss://jp7ymdkf7jcz5hni62kofoxapm.appsync-realtime-api.ap-southeast-1.amazonaws.com/graphql?header=eyJob3N0IjoianA3eW1ka2Y3amN6NWhuaTYya29mb3hhcG0uYXBwc3luYy1hcGkuYXAtc291dGhlYXN0LTEuYW1hem9uYXdzLmNvbSIsIngtYW16LWRhdGUiOiIyMDIxMTEyMFQwNTEzMDJaIiwieC1hcGkta2V5IjoiZGEyLWVhMmx1eWc3eGZhcnZpaDJwM240N2xjbno0In0=&payload=e30= used by the Web UI, apparently built using https://aws.amazon.com/appsync/: Bildschirmfoto von 2021-11-20 06-18-20

oberstet avatar Nov 20 '21 16:11 oberstet

@oberstet Thanks for the feedback. i'll link this to a PR asap, the next version will support websocket API.

guplersaxanoid avatar Dec 07 '21 05:12 guplersaxanoid