- ago
It would be nice to know if a particular symbol is shortable or not through the broker prior to trying to place an order. Would it be possible to have this data within symbol info ?


#featurerequest
0
715
7 Replies

Reply

Bookmark

Sort
Glitch8
 ( 10.62% )
- ago
#1
The broker would need to make such information available through their API. You’re using TD, correct? We can see if TD exposes this somewhere.
0
- ago
#2
Ya doesn't look like TDA has exactly this but Alpaca and Tradier seem to pass this info back. TDA has it in their xml response for streaming quotes from what I can see
https://developer.tdameritrade.com/content/streaming-data
#18 in their quote fields. Its not a major request, just sometimes a strategy will continue to attempt to put in a short order that keeps on being rejected although TDA is notorious for making things HTB. Plan on switching over to IB soon anyways. Thanks Glitch.
0
Cone8
 ( 4.98% )
- ago
#3
We can do it for IB in an upcoming build fairly easily.
0
Cone8
 ( 4.98% )
- ago
#4
How do y'all think this should be implemented? It could be transparent by letting the broker adapter reject a short order, but the result would be the same - an order entry error. So what's the point?
0
- ago
#5
I think being able to check before submitting an order would be more beneficial and avoid cluttering the order/strategy monitor and placing orders that will be cancelled.
0
Cone8
 ( 4.98% )
- ago
#6
Having the strategy check makes sense, but requires some indirection in the UserStrategyBase to make it applicable for multiple broker implementations. We'll have to turn this into a feature request.
0
- ago
#7
Makes sense, the only reason it is an issue for me is because I like to limit the number of orders I generate since on most days I am generating more than 390 orders which is over the threshold allowed by some brokers.
0

Reply

Bookmark

Sort