Testing Charts
Create market liquidity charts
Categorical Market
Start creating a categorical market with at least three outcomes. Then, when you get to the liquidity page:
Verify:
Add buy order for 1st outcome with qty 0.1 and limit price 0.1
Add a second buy order for 1st outcome with qty 0.2 and limit price 0.2
Add a sell order for 1st outcome with qty 0.3 and limit price 0.3
Select second outcome in the order form
Binary Market
Start creating a binary market. Then, when you get to the liquidity page:
Verify:
Add buy order with qty 0.1 and limit price 0.1
Add a second buy order with qty 0.2 and limit price 0.2
Add a sell order with qty 0.3 and limit price 0.3
Scalar Market
Start creating a scalar market. Then, when you get to the liquidity page:
Verify:
Add buy order with qty 0.1 and limit price 0.1
Add a second buy order with qty 0.2 and limit price 0.2
Add a sell order with qty 0.3 and limit price 0.3
Trading
Verify:
Depth Chart
Setup
Several of the pre-populated markets have a few ask/sell orders in place.
Verify:
Hovering over chart notice the following
Order Book
Setup
Several of the pre-populated markets have a few ask/sell orders in place.
Verify:
Further action:
Submit 'BUY 'orders until scrollbars appear
Verify:
Further action:
- Scroll to the tail end of one side of the order book
- Add one more 'BUY' order
Verify:
Further action:
Submit 'SELL' orders until scrollbars appear
Verify:
Further action:
- Scroll to the top of ask orders (highlighted order should no longer be visible)
- Add one more 'SELL' order
Verify:
CandleStick Chart
Setup
NOTE: Be sure to use a privacy window for all of this. It would appear metamask prevents fake block time from propogating to the client.
- Start local docker compose env in augur repo
npm run docker:spin-up
- Create a new market
- For convenience the script below is provided in augur UI repo. Located at
scripts/pop-candlesticks.sh. It will populate candlestick chart with fake data. augur (Be sure to pass in the market ID created in step 2)
- Keep the above script running in the background. It will not complete.
- Navigate to relevent trade page and select relevant outcome. The script goes to work on outcome 1, you may need to click around a bit.
Verify:
Hovering over a candlestick will....
Further action:
Select various period/range combinations
Verify:
Testing Charts
Create market liquidity charts
Categorical Market
Start creating a categorical market with at least three outcomes. Then, when you get to the liquidity page:
Verify:
Add buy order for 1st outcome with qty 0.1 and limit price 0.1
Add a second buy order for 1st outcome with qty 0.2 and limit price 0.2
Add a sell order for 1st outcome with qty 0.3 and limit price 0.3
Select second outcome in the order form
Binary Market
Start creating a binary market. Then, when you get to the liquidity page:
Verify:
Add buy order with qty 0.1 and limit price 0.1
Add a second buy order with qty 0.2 and limit price 0.2
Add a sell order with qty 0.3 and limit price 0.3
Scalar Market
Start creating a scalar market. Then, when you get to the liquidity page:
Verify:
Add buy order with qty 0.1 and limit price 0.1
Add a second buy order with qty 0.2 and limit price 0.2
Add a sell order with qty 0.3 and limit price 0.3
Trading
Verify:
Depth Chart
Setup
Several of the pre-populated markets have a few ask/sell orders in place.
Verify:
Hovering over chart notice the following
Order Book
Setup
Several of the pre-populated markets have a few ask/sell orders in place.
Verify:
Further action:
Submit 'BUY 'orders until scrollbars appear
Verify:
Further action:
Verify:
Further action:
Submit 'SELL' orders until scrollbars appear
Verify:
Further action:
Verify:
CandleStick Chart
Setup
NOTE: Be sure to use a privacy window for all of this. It would appear metamask prevents fake block time from propogating to the client.
npm run docker:spin-upscripts/pop-candlesticks.sh. It will populate candlestick chart with fake data. augur (Be sure to pass in the market ID created in step 2)Verify:
Hovering over a candlestick will....
Further action:
Select various period/range combinations
Verify: