Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP feat: recent trades API #48

Merged
merged 3 commits into from
Jan 20, 2021
Merged

WIP feat: recent trades API #48

merged 3 commits into from
Jan 20, 2021

Conversation

lispc
Copy link
Member

@lispc lispc commented Jan 20, 2021

  1. recent trades API
  2. make startall / make viewlogs / make stopall
  3. store enum as str in db
  4. some fixes of kline
  5. some fixes of db

@lispc lispc changed the title feat: recent trades API WIP feat: recent trades API Jan 20, 2021
@lispc
Copy link
Member Author

lispc commented Jan 20, 2021

I will add quote_amount and taker_side into TradeRecord, which are useful for recent trades & ticker

@noel2004
Copy link
Member

I will add quote_amount and taker_side into TradeRecord, which are useful for recent trades & ticker

I think quote_amount = amount / price? It would be a tradeoff of space and time.

Makefile Show resolved Hide resolved
@lispc
Copy link
Member Author

lispc commented Jan 20, 2021

I will add quote_amount and taker_side into TradeRecord, which are useful for recent trades & ticker

I think quote_amount = amount / price? It would be a tradeoff of space and time.

quote_amount = amount * price. Sum of quote amount is widely used, so storing it will be better

@lispc lispc merged commit 826df24 into master Jan 20, 2021
@lispc lispc deleted the feature/integrate_kline branch January 20, 2021 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants