Skip to content

Commit 3e64b20

Browse files
authored
Merge pull request #103 from danchev/master
Fix parameter names in order module documentation examples
2 parents 77484fb + af9b4a5 commit 3e64b20

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/examples.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,11 @@ Order Module
260260
orderTerm = "GOOD_UNTIL_CANCEL" # "IMMEDIATE_OR_CANCEL" # "GOOD_FOR_DAY"
261261
marketSession = "REGULAR"
262262
priceType = "LIMIT"
263+
clientOrderId = "ABC123456" # Unique alphanumeric identifier to prevent duplicate submissions of the same order
263264
264-
resp = order.place_option_order(
265+
resp = orders.place_option_order(
265266
resp_format="xml",
266-
accountId = account_id,
267+
accountIdKey = accountIDKey,
267268
symbol = symbol,
268269
callPut=callPut,
269270
expiryDate=expiryDate,

0 commit comments

Comments
 (0)