Introduce mnemonic account name resolution in getAccountNumbers
This commit is contained in:
@@ -197,9 +197,9 @@ fi
|
||||
|
||||
|
||||
curl -s -X POST \
|
||||
'https://api.schwabapi.com/trader/v1/accounts/C819AC820A502BA92E55D775B22BDF0E1BC91D86C62685714347734A5827CCB3/orders' \
|
||||
-H "Authorization: Bearer $(<access_token.dat)" \
|
||||
"https://api.schwabapi.com/trader/v1/accounts/$(./getAccountNumbers.sh Regular)/orders" \
|
||||
-H "Authorization: Bearer $(<access_token.dat)" \
|
||||
-H 'accept: */*' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d "${orderJson}"
|
||||
-d "${orderJson}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user