We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
you might consider changing comments before IGService methods to docstring so using IPython, it will return docstring help to user.
In [17]: ?IGService.create_working_order Type: instancemethod String form: <unbound method IGService.create_working_order> File: /Users/femto/fx/femtoprojects/python/ig_markets/ig-markets-rest-api-python-library/ig_service.py Definition: IGService.create_working_order(self, currency_code, direction, epic, expiry, good_till_date, guaranteed_stop, level, limit_distance, limit_level, size, stop_distance, stop_level, time_in_force, order_type) Docstring: Creates an OTC working order
An example:
# Creates an OTC position def create_open_position(self, currency_code, direction, epic, expiry, force_open, guaranteed_stop, level, limit_distance, limit_level, order_type, quote_id, size, stop_distance, stop_level): pass def create_open_position(self, currency_code, direction, epic, expiry, force_open, guaranteed_stop, level, limit_distance, limit_level, order_type, quote_id, size, stop_distance, stop_level): """Creates an OTC position""" pass
Kind regards
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
you might consider changing comments before IGService methods to docstring so using IPython, it will return docstring help to user.
An example:
Kind regards
The text was updated successfully, but these errors were encountered: