Skip to content

Conversation

fshiori
Copy link
Contributor

@fshiori fshiori commented Dec 24, 2019

Description:

rest book api return different sort by trading and funding,
and now the SDK only support trading.

Breaking changes:

None

New features:

None

Fixes:

  • NewBookUpdateFromRaw func data comment error
  • process funding symbol corerectly

PR status:

  • Version bumped
  • Change-log updated

@harry830622
Copy link

@fshiori Really appreciate the PR, bump into the exact same problem here.
@JacobPlaster Would you please take a look and merge the PR? Or how can I help to merge this PR?
Thanks

}

func IsFunding(symbol string) bool {
return strings.HasPrefix(symbol, "f")
Copy link

@harry830622 harry830622 Aug 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return strings.HasPrefix(symbol, "f")
return strings.HasPrefix(symbol, FundingPrefix)

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.

2 participants