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

Integrate Spotbit as a Specter Plugin #1

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

Conversation

ahv15
Copy link
Owner

@ahv15 ahv15 commented Jul 4, 2022

Integrate the necessary components from Spotbit to allow users to use exchange rates from a local cache instead. This PR involves the following:

  • Update the local cache on a regular basis.
  • Fetch and store historical price exchange data.
  • Configuration page for the user to choose currencies, exchanges, frequency of historical data and so on.
  • Status page for the user to view whether data has been completely collected or not and make updates based on that.

To test the current progress, try accessing the endpoints. For example (http://127.0.0.1:25441/svc/spotbit/now/usd/bitstamp and http://127.0.0.1:25441/svc/spotbit/hist/usd/bitstamp/0/1658843400000)

@ahv15 ahv15 marked this pull request as draft July 4, 2022 15:30
@k9ert
Copy link

k9ert commented Aug 31, 2022

I got:

                You have an inconsistent project file-layout in folder
                /home/kim/src/spotbit
                Either you:
                * Have a src-folder and you can have .py-files in your projectroot OR
                * you don't have a src-folder but ./extensionid/service.py (+ __init__.py)
                But not having a ./src-folder AND some .py-file in the project-root is not allowed.

Anything special to get the project up and running?

@@ -0,0 +1,2 @@
cryptoadvance.specter==1.8.1

Choose a reason for hiding this comment

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

Plugin discovery didn't work for me with this version. Use the latest?

@k9ert
Copy link

k9ert commented Sep 8, 2022

Demo Video available here: https://www.youtube.com/watch?v=cNcQ1-ccedI

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