cyber-markets icon indicating copy to clipboard operation
cyber-markets copied to clipboard

cyber-markets API 1.0

Open cyborgshead opened this issue 7 years ago • 7 comments

Copied by @21xhipster from here:

Under stable API I mean the following:

  • Standard convention for future
  • API docs

After that we can call community to start build apps

cyborgshead avatar Feb 13 '18 10:02 cyborgshead

img_20180214_145759

vbloher avatar Feb 22 '18 08:02 vbloher

New data model:

/**
 * @property price - map of  BCT_Symbol(Base Tokens) -> Exchange -> TokenPrice
 * @property volume - map of CT_Symbol -> Exchange -> Volume
 * @property baseVolume - map of BCT_Symbol -> exchange -> TotalVolume in BCT
 */
data class TokenTicker(
        val symbol: String,

        var timestampFrom: Long,
        var timestampTo: Long,
        val interval: Long,

        val price: MutableMap<String, MutableMap<String, TokenPrice>> = mutableMapOf(),
        val volume: MutableMap<String, MutableMap<String, BigDecimal>> = mutableMapOf(),
        val baseVolume: MutableMap<String, MutableMap<String, BigDecimal>> = mutableMapOf()
)

vbloher avatar Feb 22 '18 09:02 vbloher

I restructure issue a bit more. As a first point of api implementation we should design it.

  • [x] Using swagger and openapi 3 create Markets API DOCS service
  • [x] Define tokens api
  • [x] Defines orderbook api
  • [x] Define trades api
  • [x] Define exchanges api
  • [ ] Create dockerhub repository
  • [ ] Deploy on gcloud

hleb-albau avatar Apr 10 '18 06:04 hleb-albau

@vstavetski contact @asadovka to clarify browser requirements for token tickers.

hleb-albau avatar Apr 10 '18 06:04 hleb-albau

Under stable API I mean the following:

  • Standard convention for future
  • API docs
  • 99.9% cloud service uptime
  • Automated testing and deployment after merge to master brunch

mastercyb avatar Apr 21 '18 13:04 mastercyb

https://app.swaggerhub.com/apis/vstavetski6/cyber-markets_api/1.0.0

vbloher avatar Apr 23 '18 13:04 vbloher

More docs needed

mastercyb avatar Jul 26 '18 11:07 mastercyb