DeXter-on-Radix / website

Community built order book dex on Radix.
https://dexteronradix.com/
6 stars 16 forks source link

Create a simulation of trading activity on testnet AlphaDEX #10

Open EvgeniiaVak opened 1 year ago

EvgeniiaVak commented 1 year ago

Maybe creating a script that runs trades periodically, so that we would have nice explorable trade history. Maybe for a couple of pairs.

EvgeniiaVak commented 12 months ago

I thought a little bit about how can we set it up. So what we need on testnet AlphaDEX is:

So maybe it's like creating a couple of trading bots doing some random stuff? Feels a lot like testing AlphaDEX itself. Should certainly be interesting to people planning to do algo trading on Radix.

EvgeniiaVak commented 12 months ago

Or, if not implementing bot scripts, we can kindly ask our telegram community to periodically try out trading once we have something working on the testnet. Won't be as live and frequent as bots, but the upsides are:

  1. we won't spend dev time on it - we already have enough on our plates and there are a couple non-dev people wanting to contribute somehow
  2. the test will be closer to what we need to test - I bet they will find a couple of bugs for us early
SmashingBumpkin commented 12 months ago

That could be quite nice, but also might be a struggle to get people set up and running the dev environment and keeping them up to date with the latest changes. There's a lot to unpack there if you've never seed an IDE in your life!

All that effort would only really pay dividends if they made quite a commitment to sending txs fairly regularly, so pragmatically I'm not sure how much it would help.

Edit: Just saw the plan to host the development version. If we do that it'd certainly be viable!

EvgeniiaVak commented 12 months ago

Yes! That's the thing, github actions (or maybe vercel, with next.js in my experience vercel is easier) is awsome for this! We can set up the auto-deployment so that whenever we merge to main branch, it's automatically deployed to the dev. hosting (and it's super easy - look at this repo - https://github.com/EvgeniiaVak/order-book-demo )

EvgeniiaVak commented 12 months ago

So people wouldn't have to set up any dev environment, just go to the website (granted our current ugly version) and click buttons. But we need to do #36 first

fliebenberg commented 12 months ago

On the trading: I am planning to write a bot that provides liquidity on pairs, so it would not be too much of a stretch to also just make it do trades on a regular basis. But this will likely only happen towards September. I definitely agree that we should encourage the community to start manually trading on the app as soon as they can. People that do automated trading will not do it through our app, as they will interact either directly with the AlphaDEX components or API/SDK. But all those trades will still be shown on our app just like it will show trades that happen on other apps working on AlphaDEX.

Our aim should be to get an MVP out as soon as possible for the community to interact with and provide feedback. For an MVP we really only need to show the orderbook and have the ability to submit orders and maybe show open/completed orders for an account. The rest we can add as we finish it. That alone should generate some trades to show.

EvgeniiaVak commented 11 months ago

I agree, and I think we also can deploy not even MVP but even something more unfinished (after completing #6 ) - and share with the people so they can test the functionality even if the UI doe not meet any design plans.