-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multi: market overview and price feed
Add new price_feed subscription. The response to the subscription request contains the spot prices for all known markets. Subscribers will then receive an update to the spot price for every market at the end of every epoch. server/market BookRouter handles the subscriptions. The spot price is passed by Market as part of the sigDataEpochReport. It was already being generated by (*DataAPI).ReportEpoch, but we were discarding it. dex/candles (*Cache).Delta method updated to ignore leading and trailing zeros. Zeros occur when the book is empty. client/core Subscribe to the price feed right after fetching configuration, including after reconnect. Populate the new Market.Spot field. Send updates as notifications. front-end Display 24-hour percent change and current rate in the list on the left side of the markets view
- Loading branch information
Showing
24 changed files
with
518 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -427,7 +427,6 @@ div.form-closer { | |
|
||
.micro-icon { | ||
position: relative; | ||
bottom: 2px; | ||
} | ||
|
||
#tooltip { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.