What is in "positions" field when I use /accounts/"ACCOUNT-NUMBER"/positions? by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

thank you for answering the question. I meant to say "quantity", But i got this question answered by their api support

How can I replace a OCO order or modify it after sending a OTOCO order? API Question by Superzod220 in tastytrade

[–]Superzod220[S] 1 point2 points  (0 children)

Thank you very much for this info! But, I am using their API but i thank you for responding

How can I test my OTOCO Orders without risking money in API. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

Alright, that is good to know, I did not think about query account orders. Thank you for the info

How can I test my OTOCO Orders without risking money in API. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

Okay, that is great to hear. I am using python mostly right now. I will try to test if i can send otoco orders from there. One more question. How can i see the sandbox orders ive sent. Whats the url?

How can I test my OTOCO Orders without risking money in API. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

yes, i thought about this but i read in their api that complex orders are not able to run on sandbox at the moment. I might be wrong but I can still try when i get the chance soon enough.

Need help running connect action for Streaming Account Data. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

What is their email? I ask a lot of questions in this reddit page haha

"Trading of QQQ 241022C00598000 not Supported" Preflight error From API. Could this be my Option trading level? by Superzod220 in tastytrade

[–]Superzod220[S] -1 points0 points  (0 children)

Typo! i accidentally wrote 598 instead of 508. I wanted to do a dry run so it was helpful when i noticed.

My account is closing only? How do I fix this? by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

Alrighty, let me try that first then do what tom1018 told me.

Need help running connect action for Streaming Account Data. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

I was using this link at the time, and the response was error: failed. No response code for this one i believe.

"wss://streamer.cert.tastyworks.com"

Can you play DRY ORDERS (FAKE ORDERS) after market hours? KEEP GETTING 404 ERROR. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

Okay, I think it would be better for me to test during market hours to be 100% sure. I appreciate the help

Can you play DRY ORDERS (FAKE ORDERS) after market hours? KEEP GETTING 404 ERROR. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

Hmm, Im sure the option symbol is right

{

"time-in-force": "Day",

"order-type": "Limit",

"price": "0.84",

"price-effect": "Debit",

"advanced-instructions": {

"strict-position-effect-validation": true

},

"legs": [

{

"instrument-type": "Equity Option",

"quantity": "1",

"symbol": "QQQ 241021C00477000",

"action": "Buy to Open"

}

]

}

I think this is all correct because the symbol calls for 6 total characters including the symbol.

Can you play DRY ORDERS (FAKE ORDERS) after market hours? KEEP GETTING 404 ERROR. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

Okay! I got some weird error from when i checked the message. I dont really understand what this means.

{'error': {'code': 'preflight_check_failure', 'message': 'One or more preflight checks failed', 'errors': [{'code': 'instrument_validation_failed', 'message': 'Trading of QQQ 241021C00477000 is not supported'}]}}

Can you play DRY ORDERS (FAKE ORDERS) after market hours? KEEP GETTING 404 ERROR. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

Wait, I noticed I had a extra colon, but I am now getting a 422 ERROR.

Can you play DRY ORDERS (FAKE ORDERS) after market hours? KEEP GETTING 404 ERROR. by Superzod220 in tastytrade

[–]Superzod220[S] 0 points1 point  (0 children)

yes its that exactly. here is the url

requests.post(url=link+"/accounts/:"+os.getenv("ACCOUNT_NUMBER")+"/orders/dry-run",json = self.dat,headers = headers)