Skip to content
New issue

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

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

Already on GitHub? # to your account

Binance syminfo and mintick #184

Merged
merged 3 commits into from
May 26, 2021
Merged

Binance syminfo and mintick #184

merged 3 commits into from
May 26, 2021

Conversation

goodboy
Copy link
Contributor

@goodboy goodboy commented May 25, 2021

Some stuff we missed in binance backend.

  • correct formatting output of .symbol_info()
  • symbol set cacheing at client startup (in prep for Symbol search #164 feature requirements)
  • extract min tick info per symbol to allow charting axes to resolve correctly.

@guilledk you should rebase your #182 off this 😎

@goodboy goodboy requested a review from guilledk May 25, 2021 12:48
async with ctx.open_stream() as stream:

async for pattern in stream:
# results = await client.symbol_info(sym=pattern.upper())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah turns out they don't have a "search" in the API they offer, you have to have the exact symbol.

Collecting the whole cache at client startup is reasonably fast anyway (and we do it async with the other backends), so all gud i think.

@goodboy
Copy link
Contributor Author

goodboy commented May 25, 2021

Ahh gotta push up a tractor patch to expose Portal in order to fix CI.

@goodboy goodboy merged commit 36530d9 into master May 26, 2021
@goodboy goodboy deleted the binance_syminfo_and_mintick branch May 26, 2021 16:11
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants