-
Notifications
You must be signed in to change notification settings - Fork 25
Event API
James Robert Somers edited this page Mar 6, 2017
·
2 revisions
Parameter | Value |
---|---|
apiKey |
TradeIt API key |
publisherUserId |
Unique Identifier for the user |
symbol |
Stock Symbol |
symbolClass |
EQUITY_OR_ETF , OPTION , MUTUAL_FUNDS , FIXED_INCOME , FX , FUTURE , UNKNOWN
|
curl -X POST "https://ams.tradingticket.com/api/v1/userEvents/search?apiKey=tradeit-test-api-key&publisherUserId=publisher-user-id&symbol=TSLA&symbolClass=EQUITY_OR_ETF"
Parameter | Value |
---|---|
apiKey |
TradeIt API key |
publisherUserId |
Unique Identifier for the user |
symbol |
Stock Symbol |
symbolClass |
EQUITY_OR_ETF , OPTION , MUTUAL_FUNDS , FIXED_INCOME , FX , FUTURE , UNKNOWN
|
curl -X POST "https://ams.tradingticket.com/api/v1/userEvents/quote?apiKey=tradeit-test-api-key&publisherUserId=publisher-user-id&symbol=TSLA&symbolClass=EQUITY_OR_ETF"
Parameter | Value |
---|---|
apiKey |
TradeIt API key |
publisherUserId |
Unique Identifier for the user |
symbol |
Stock Symbol |
symbolClass |
EQUITY_OR_ETF , OPTION , MUTUAL_FUNDS , FIXED_INCOME , FX , FUTURE , UNKNOWN
|
action |
ADD , REMOVE
|
curl -X POST "https://ams.tradingticket.com/api/v1/userEvents/watchList?apiKey=tradeit-test-api-key&publisherUserId=publisher-user-id&symbol=TSLA&symbolClass=EQUITY_OR_ETF&action=ADD"
Parameter | Value |
---|---|
apiKey |
TradeIt API key |
publisherUserId |
Unique Identifier for the user |
symbol |
Stock Symbol |
symbolClass |
EQUITY_OR_ETF , OPTION , MUTUAL_FUNDS , FIXED_INCOME , FX , FUTURE , UNKNOWN
|
action |
BUY , SELL , SELL_SHORT , BUY_TO_COVER
|
quantity |
Quantity traded |
curl -X POST "https://ams.tradingticket.com/api/v1/userEvents/paperTrade?apiKey=tradeit-test-api-key&publisherUserId=publisher-user-id&symbol=TSLA&symbolClass=EQUITY_OR_ETF&action=SELL"