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

client.py amelioration #21

Open
ghost opened this issue Nov 3, 2017 · 0 comments
Open

client.py amelioration #21

ghost opened this issue Nov 3, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 3, 2017

Hello,
I think it will be better in client.py to put on the line 21:
TIMEOUT = (5.0, None)
Like that there are a timeout of 5 seconds for the connection and None for the answer
I have made too a modification which add the possibility to make postonly order:
on line 56 change by it:
def place_order(self, amount, price, side, ord_type, symbol='btcusd', exchan
ge='bitfinex', postonly=False):
and after the line 76 add:
"is_postonly": postonly
If you can commit this amelioration it will be great.
Thanks.

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

No branches or pull requests

0 participants