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

adding market order functionality #48

Closed
sanket-buyhatke opened this issue Jun 21, 2021 · 4 comments
Closed

adding market order functionality #48

sanket-buyhatke opened this issue Jun 21, 2021 · 4 comments
Labels
feature request new request for feature

Comments

@sanket-buyhatke
Copy link
Collaborator

Describe the enhancement

Implementation of market order via API trading, would help place orders immediately and ensures the user is able to enter/exit their position irrespective of market condition.

Currently this is achieved by calling two functions (example for exiting BTC/USDT position):
bitbnsObj.getSellOrderBook('BTCUSDT')
bitbnsObj.placeOrders({'symbol': 'BTCUSDT', 'side': 'SELL', 'quantity': 0.1, 'rate': 33000})

this action could be achieved by just 1 action by user:
bitbnsObj.placeOrders({'symbol': 'BTCUSDT', 'side': 'SELL', 'type':'MARKET', 'quantity': 0.1})
note: rate is not considered in this case.

@sanket-buyhatke sanket-buyhatke added the feature request new request for feature label Jun 21, 2021
@sukhwant280
Copy link

interesting.. on the website, only limit, stop and bracket are available. will try market via api. lets hope you resolve my installation issue no : 56 :-)

@sanket-buyhatke
Copy link
Collaborator Author

@sukhwant280 , the market order functionality is currently unavailable, hence the feature request (meaning you wont be able place market orders via API currently)

will update in documentation, once it is available.

thank you for your interest.

@sukhwant280
Copy link

noted thanks

@sanket-buyhatke
Copy link
Collaborator Author

Hi @sukhwant280 , the market order functionality is live, pls refer to market orders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request new request for feature
Projects
None yet
Development

No branches or pull requests

2 participants