Skip to content

Commit

Permalink
[feat] incr version
Browse files Browse the repository at this point in the history
  • Loading branch information
aarjaneiro committed Mar 20, 2024
1 parent 5d7c982 commit 30b8ea4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='vcx_py',
version='1.0.5',
version='1.0.6',
packages=['vcx_py'],
license='MIT',
author='Aaron Janeiro Stone',
Expand Down
2 changes: 0 additions & 2 deletions vcx_py/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ def place_order(self, symbol: str, category: OrderType, direction: OrderDirectio
else:
if total is None and direction == OrderDirection.BUY:
raise ValueError("Total is required for non-limit buy orders")
elif qty is None:
raise ValueError("Quantity is required for all but non-limit buy orders")

payload = {"apiKey": self._api_key(), "symbol": symbol, "category": category, "type": direction,
"country": 1}
Expand Down

0 comments on commit 30b8ea4

Please sign in to comment.