Tradecision Talks
May 22, 2013, 02:29:40 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Tradecision Talks
>
Inside Tradecision
>
Everything Else
>
Ameritrade Data Access -- Not Working
Pages: [
1
]
« previous
next »
Print
Author
Topic: Ameritrade Data Access -- Not Working (Read 1782 times)
Trader JW
Jr. Member
Posts: 5
Ameritrade Data Access -- Not Working
«
on:
March 22, 2010, 09:34:36 AM »
I'm trying to get Ameritrade working with the Data Manager, but when I try to update a symbol,
the Data Manager never seems to connect and retrieve the data. I've entered my username,
password, and I'm assuming the Account ID is my SSN. However, no data is retrieved.
The Preferences GUI states that if the Login Site and Streaming Site are left blank that
the TD Ameritrade Service will fill them in. Is this correct?
Has anyone else been able to get it working?
Thanks...James
Logged
Trader JW
Jr. Member
Posts: 5
Re: Ameritrade Data Access -- Not Working
«
Reply #1 on:
March 22, 2010, 02:14:11 PM »
I found the log files, and it looks like I'm logging in, but data never gets pulled down.
Here's a clip of the log file, once it gets to the bottom, nothing happens. I've left
the Data Manager open for 20 minutes and no data ever loads.
15:50:33.744 INITSESSION LL=1
15:50:33.759 CREATING NEW TTDA 50
15:50:33.775 TDASETLOGININFO 1
15:50:33.775 TDASETLOGININFO: Found TDA
15:50:33.775 TDASETSourceApp 1
15:50:33.791 TDASETSourceApp: Found TDA
15:50:33.791 SETTING TRDSOURCE to TC
15:50:33.791 GO - SUSPENDED
15:50:33.791 SUSPENDIT=FALSE - RESUMING
15:50:33.806 LOGGINGIN
15:50:33.806 Status Change: Idle --> Logging In
15:50:33.822 PROXY for login: :80
15:50:33.822 FLoginNew HTTP Call 1: apis.tdameritrade.com /apps/100/LogIn
15:50:34.355 LOGIN RES <?xml version="1.0"?><amtd><result>OK</result><xml-log-in><session-id>kdjgklfjdgljd</session-id><user-id>joetest</user-id><cdi>A000000014545454</cdi><timeout>55</timeout><login-time>2010-03-22 16:50:35 EDT</login-time><associated-account-id>123456</associated-account-id><nyse-quotes>realtime</nyse-quotes><nasdaq-quotes>realtime</nasdaq-quotes><opra-quotes>realtime</opra-quotes><amex-quotes>realtime</amex-quotes><exchange-status>non-professional</exchange-status><authorizations><options360>false</options360></authorizations><accounts><account><account-id>123456</account-id><display-name>joetest</display-name><cdi>A0000000014545454</cdi><description>Joe Test</description><associated-account>true</associated-account><company>AMER</company><segment>AMER</segment><unified>false</unified><preferences><express-trading>false</express-trading><option-direct-routing>true</option-direct-routing><stock-direct-routing>true</stock-direct-routing></preferences><authorizations><apex>false</apex><level2>false</level2><stock-trading>true</stock-trading><margin-trading>true</margin-trading><streaming-news>false</streaming-news><option-trading>spread</option-trading><streamer>true</streamer><advanced-margin>false</advanced-margin></authorizations></account></accounts></xml-log-in></amtd>
15:50:34.355 LOGIN COOKIE
15:50:34.355 RECORDING ACCOUNT 123456
15:50:34.355 Mrgin=true
15:50:34.355 Express=false
15:50:34.355 FLoginNew HTTP Call 2: apis.tdameritrade.com /apps/100/StreamerInfo;jsessionid=C6F98A8C.kxT6z3TR0HFegviiYWyjgg?source=TC
15:50:34.512 LOGIN RES 2 <?xml version="1.0"?><amtd><result>OK</result><streamer-info><streamer-url>ameritrade02.streamer.com</streamer-url><token>3ef5b8c449219e042817c0a8a9</token><timestamp>1269291035355</timestamp><cd-domain-id>A000000006687669</cd-domain-id><usergroup>ACCT</usergroup><access-level>ACCT</access-level><acl>AQDRESGKIPMAOSPNQSRFSDTETFTOTTUAURWS</acl><app-id>TC</app-id><authorized>Y</authorized><error-msg></error-msg></streamer-info></amtd>
15:50:34.512 Streaming URL list set to ameritrade02.streamer.com
15:50:34.512 PROXY for login: :80
15:50:34.512 LOGIN SITE="wwws.ameritrade.com"
15:50:34.512 RUNNING HTTP request: wwws.ameritrade.com /apps/xml/LogIn
15:50:34.748 LOGIN RES OLD "<?xml version="1.0"?>
<amtd>
<result>OK</result>
<xml-log-in>
<user-id>joetest</user-id>
<user-desc>Joe Test</user-desc>
<session-id>LnYbTBhhhdv4ppRJQnGdpx1RLBfb10LjFT8mYLTdjwX!2029817836!1269291035595</session-id>
<account>
<account-id>123456</account-id>
<display-name>joetest</display-name>
<company>AMER</company>
<segment>AMER</segment>
<unified>Y</unified>
<authorizations>
<apex>False</apex>
<level2>Disabled</level2>
<direct-routing>Enabled</direct-routing>
<stock-trading>Enabled</stock-trading>
<option-trading>Enabled</option-trading>
</authorizations>
</account>
</xml-log-in>
</amtd>"
15:50:35.046 FDKLoginKey=LnYbTBhhhdvgTpm4ppRJQnGdpx1Jz1jwX!2029817836!1269291035595
15:50:35.046 Status Change: Logging In --> Logged In
15:50:35.061 Login Status Set
15:50:35.061 Exiting Login
15:50:35.077 Status Change: Logged In --> Idle
15:50:35.077 TDARequestOrderStatuses
15:50:35.093 Ord Status Req: BEFORE LOCK
15:50:35.093 Ord Status Req: IN LOCK
15:50:35.093 Ord Status Req: CREATING REQUEST
15:50:35.281 2
15:50:35.281 1
15:50:35.297 Total orders: 0
15:50:35.297 Total fills: 0
15:50:35.297 Move(FOrderStatus[0],P1^[0],0 0
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Inside Tradecision
-----------------------------
=> Announcements
=> Technical Analysis
===> Data Management
=> Trading Systems
===> Improvian Language
=> Neural Networks
=> Everything Else
===> Tandem Studies
===> Wish List
===> Tradecision FAQ
-----------------------------
Trading Experience
-----------------------------
=> Resources
Loading...