Giter VIP home page Giter VIP logo

wazirx-connector-python's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wazirx-connector-python's Issues

429 Error even after using sleep for 5 seconds

HI I am trying to pull live data for below coins and its throwing 429 error even though i m using 5 seconds sleep time between each crypto. As far as i can find from documentation that there is a limit of 10/sec. I would like to knoe the limits on all of the endpoints. So that i dont spam. Thanks

crypto=['maticinr','manainr','xrpinr','dogeinr','adainr','batinr','chrinr','phainr','enjinr','cotiinr','ctsiinr','dockinr']

def live_price(crypto,iter_error,client):
try:
client = Client()
live_response,live_price=client.send("ticker",{"symbol":crypto})
live_price=pd.DataFrame(live_price,index=range(0,1))
live_price['date_time']=pd.to_datetime(live_price['at'], unit='ms').apply(lambda x: (x+timedelta(minutes = 330)))
live_price.to_sql(crypto, if_exists='append', con=engine)
iter_error=0
time.sleep(5)
except BaseException as e:
iter_error+=1
time.sleep(5)
print(e,crypto)
return iter_error

Import error

when I run a test file and I got an error
Traceback (most recent call last): File "e:\Code\wazirx-connector-python-master\wazirx_sapi_client\rest\test.py", line 9, in <module> from wazirx_sapi_client.rest import Client File "e:\Code\wazirx-connector-python-master\wazirx_sapi_client\rest\__init__.py", line 4, in <module> raise BaseException("Python>=3.7 required") BaseException: Python>=3.7 required

Websocket connection error 1009

When I try to connect to websocket with multiple ticker symbols streams, i m getting connection faild with error code 1009.

Is there any limitation in the number of streams in one webservice connection?

How to obtain API_KEY and API_SECRET

How to generate API Keys to place orders and perform actions on other account specific endpoints.
It is not mentioned anywhere in the docs on how to obtain the keys.

Unable to download python connector

Hello,
I am doing "pip install wazirx_sapi_client" to install the python connector so as to use this in trading bot. But I am getting below error, could you please help me?
ERROR: Could not find a version that satisfies the requirement wazirx_sapi_client (from versions: none)
ERROR: No matching distribution found for wazirx_sapi_client

Error running with python >= 3.10

If you invoke this API with python 3.10 or higher, it throws exception.

Traceback (most recent call last):
File "c:\Users\magic\Documents\app.py", line 1, in
from wazirx_sapi_client.rest import Client
File "c:\Users\magic\Documents\wazirx_sapi_client\rest_init_.py", line 4, in
raise BaseException("Python>=3.7 required")

Valid Api Name Required error occurs for funds & account API names

I see other endpoints like historical_trades, open_orders, all_orders are responding. But funds and accounts are raising exceptions as below

Traceback (most recent call last): File "/Users/digiajay/Documents/Projects/Bitbucket/aj_wazirx/strategy_1.py", line 37, in <module> funds = (client.send('account',{"timestamp": int(time.time() * 1000)})) File "/Users/digiajay/Documents/Projects/Bitbucket/aj_wazirx/wazirx_sapi_client/rest/client.py", line 35, in send raise BaseException("Valid Api Name Required") BaseException: Valid Api Name Required

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.