Introduce mnemonic account name resolution in getAccountNumbers
This commit is contained in:
@@ -97,9 +97,9 @@ fi
|
||||
./getNewAccessToken.sh
|
||||
|
||||
curl -s -X POST \
|
||||
'https://api.schwabapi.com/trader/v1/accounts/CEF970366D4CC9553B5E8846E35FD92A1867F3E73C1082A52647256F42E4746B/orders' \
|
||||
-H "Authorization: Bearer $(<access_token.dat)" \
|
||||
"https://api.schwabapi.com/trader/v1/accounts/$(./getAccountNumbers.sh IRA)/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