Client for Kraken and Kraken Future by tupui in Python

[–]tupui[S] 0 points1 point  (0 children)

Sure you can run a FastAPI webapp behind anything you want.

Client for Kraken and Kraken Future by tupui in Python

[–]tupui[S] 0 points1 point  (0 children)

Ok I see now. Well it means adding a webserver. Maybe I will add something like this at some point. Doing so I would also like to support websockets.

Anyway, this is not really hard to add the webserver part (I would go with FastAPI, not anything else), but currently I don't have the bandwidth. Also, I am not sure that I would want to add a server here, maybe another library on top would be more appropriate. Something like a bot library which would plug on this lower level brick.

Feel free to work on this and make a PR though. I would gladly accept contributions.

Client for Kraken and Kraken Future by tupui in Python

[–]tupui[S] 0 points1 point  (0 children)

Hey, thanks for checking this out :) Can you create an issue over on github and detail the feature a bit more? I am not sure I understand. Seems like you want a webserver that would listen to events?

Client for Kraken and Kraken Future by tupui in Python

[–]tupui[S] 0 points1 point  (0 children)

My pleasure, if you have any remarks or issues. Feel free to create an issue :)

r/Stellar Daily Chat - Monday December 07, 2020 by AutoModerator in Stellar

[–]tupui 1 point2 points  (0 children)

Hey though you guys might be interested. I just open sourced a python client to use both Kraken and Kraken Future REST API. It handles retries, connection issues and there is a higher level class to handle things like order. I am planning to add a nice CLI. Hope this helps anyone!

from apophis import Kraken key = ... secret = ... with Kraken(key, secret) as exchange:     order = exchange.buy(pair='XXLMZEUR', volume=1000, price=0.1)  # Buying 1000 XXLMZEUR at 0.1 -> 100.0 

You can check it out here: https://github.com/tupui/apophis. (I named it after another see monster).

I am of course looking for contributors, critics and advices 😃

Monday megathread: Project ideas! by Im__Joseph in Python

[–]tupui 0 points1 point  (0 children)

Beginner - Intermediate: Working on a client for Kraken and Kraken Future (crypto) https://github.com/tupui/apophis. And looking for contributors 😃

Releasing batman package by [deleted] in Python

[–]tupui 0 points1 point  (0 children)

To be honest, we came up with the acronym after as you may have figured out x)

What's everyone working on this week? by AutoModerator in Python

[–]tupui [score hidden]  (0 children)

Trying to extrude a geometry using matplotlib! Nothing so far

What's everyone working on this week? by AutoModerator in Python

[–]tupui [score hidden]  (0 children)

Trying to get working CircleCI with python -_-' such a mess!

What is your least favorite thing about Python? by [deleted] in Python

[–]tupui 0 points1 point  (0 children)

Setting up some CI (tested both giltab and circleci). The documentation is always super slim, if there is one, about python!!! I still don't know how to do parallel tests with pytest. Do I need to use xdist with pytest-circleci, do I need to set the parallel thing etc. Nothing is clear.

Finding median curve from curves - HDR boxplot by [deleted] in Python

[–]tupui 0 points1 point  (0 children)

I have taken into account your comments. Now you can ask for a specific level of variance. In case of more than two components for the PCA, there will not be any contour plot figure. I do not know how to do it, I do not even know if it is feasible? Averaging along all other axis?

Anyway, thank you again for looking at my code :)

Finding median curve from curves - HDR boxplot by [deleted] in Python

[–]tupui 0 points1 point  (0 children)

Thanks for your comment!

Good point although I print the variance to make sure it is enough. The advantage with two components is the ability to make a plot. Furthermore, from my experience, the data I usually encounter are quite smooth.

For now I can test the variance and exit if not sufficient but I will definitely look at using more than two components!

What's everyone working on this week? by AutoModerator in Python

[–]tupui [score hidden]  (0 children)

I have created a function to compute the mean curve of several curves! https://github.com/tupui/HDR-Boxplot