tradestation SDK - EasyLanguage Programming | futures io social day trading
futures io futures trading


tradestation SDK
Updated: Views / Replies:2,688 / 6
Created: by johnsondel Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

tradestation SDK

  #1 (permalink)
Trading Apprentice
Traverse City MI
 
Futures Experience: Intermediate
Platform: thinkorswim
Favorite Futures: stock
 
Posts: 4 since Jan 2013
Thanks: 0 given, 0 received

tradestation SDK

I'm considering subscribing to TradeStation and transfer some or all of my accounts from thinkorswim. I am a c++ programmer and like the idea of extending the EasyLanguage for my own applications. I'm not interested in joining the programmer network which requires paying higher data fees.

It sounds like tskit.dll comes with the platform but I need the header files (e.g. tskit.tlh and one other). Can someone tell me if the tskit.tlh file is part of the tradestation installation? Also does anyone know whether you can create dll libraries that can be used in tradestation without joining the programmers network?

Thank

D Johnson

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Germany
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: Futures
 
Posts: 88 since May 2012
Thanks: 53 given, 90 received


I don't think you need any specific SDKs. It's just a matter of conducting DLL calls. You first declare an external DLL function in TS like this:

DefineDLLFunc: "C:\TWSLINK2.DLL",int, "CONNECT",
LPSTR,{sHost}
int,{iport}
int,{startingClientID}
int;{timeout}

and then make the call in TS like this:

value1 = CONNECT("",7496,1,50);

In this example, the first integer was the return variable that's now in value1. You can leave that out if you need no return and just make the call like this in EL:

CONNECT("",7496,1,50);

It should work right away with any DLLs that can be called.


Last edited by Outlier; January 20th, 2013 at 12:09 PM.
Reply With Quote
 
  #4 (permalink)
Trading Apprentice
Traverse City MI
 
Futures Experience: Intermediate
Platform: thinkorswim
Favorite Futures: stock
 
Posts: 4 since Jan 2013
Thanks: 0 given, 0 received

Response to Outlier:

The example that you give is from the the EasyLanguage call to the dll. What I'm looking at is from the perspective of the C++ code that creates the dll. It communicates through the tskit.dll which is an interface to EasyLanguage.

The first line of the C++ code must contain the following:

#import "C:\Program Files\TradeStation 8.1 (Build 3006)\Program\tskit.dll" no_namespace

After further reading of the TradeStation SDK documentation it appears that I only need the tskit.dll and not the two header files. To determine if tskit.dll is included int the standard TradeStation software would only require someone to search the program directory where TradeStation is installed and see if the tskit.dll is in one of the subdirectories.

Reply With Quote
 
  #5 (permalink)
Elite Member
Portland, OR
 
Futures Experience: Intermediate
Platform: Sierra Chart
Favorite Futures: ES
 
Posts: 269 since Jan 2011
Thanks: 326 given, 179 received

tskit.dll - It's available with default install of TS - under program folder.

C:\Program Files (x86)\TradeStation 9.1\Program\tskit.dll

Reply With Quote
 
  #6 (permalink)
Elite Member
Germany
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: Futures
 
Posts: 88 since May 2012
Thanks: 53 given, 90 received


johnsondel View Post
It communicates through the tskit.dll which is an interface to EasyLanguage.

This is optional. tskit.dll provides an interface for directly referencing TS data without explicitly going through EL. You can however use a DLL function in EL to send your TS data to the DLL like this:

DefineDLLFunc: "C:\data.DLL", int, "sendprice", double;
value1 = sendprice(close); // provides your DLL with the closing price of data1

So you can create your own DLL (that exports functions using the __stdcall calling convention) and it'll work. You don't necessarily have to use the tskit.dll to get data from TS.

Reply With Quote
 
  #7 (permalink)
Trading Apprentice
Traverse City MI
 
Futures Experience: Intermediate
Platform: thinkorswim
Favorite Futures: stock
 
Posts: 4 since Jan 2013
Thanks: 0 given, 0 received

Thanks for looking it up.

Also, I think that you need to reference tskit.dll if you need to call a C++ function contained in a custom dll from EasyLanguage. I need to look at the SDK documentation again.

D. Johnson


Last edited by johnsondel; January 20th, 2013 at 06:52 PM.
Reply With Quote

Reply



futures io > > > > > tradestation SDK

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do you use TradeStation? Big Mike TradeStation 23 October 16th, 2017 04:02 AM
TradeStation and C# jdfagan TradeStation 9 October 9th, 2014 11:28 PM
Considering Tradestation: want to know if possible nhboy603 TradeStation 3 January 16th, 2013 08:07 AM
Tradestation rassi Reviews of Brokers and Data Feeds 5 June 22nd, 2010 08:36 AM


All times are GMT -4. The time now is 08:32 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-12 in 0.11 seconds with 19 queries on phoenix via your IP 54.90.207.75