Search found 21 matches

by Rocket130713
Sun Nov 11, 2018 11:20 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Will free TWS-Link be updated over time if it stops working?
Replies: 1
Views: 16386

Will free TWS-Link be updated over time if it stops working?

Hello, Will TWS-Link Free (offline) FA version be updated over time if it stops working due to using it on Windows 11, Windows 12, Windows 13 x64, etc. in the future? What happens if TWS-Link stops working due to using it with new versions and builds of the TWS trading platform? What happens if TWS-...
by Rocket130713
Thu May 10, 2018 2:43 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: How call Average Price of an Open Position in TWS-Link?
Replies: 1
Views: 17953

How call Average Price of an Open Position in TWS-Link?

Hello, we would like to ask you how do we call the "Average Entry Price" of an open "position" (rather than an "order" that has been filled or partfilled) using the TWS-Link DLL? How would we code this? For example, in the screen-shot attached we want to get (call) the 131.148 average price value wh...
by Rocket130713
Fri Apr 27, 2018 12:44 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down
Replies: 9
Views: 14580

Re: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down

Hello, thank you for you reply and advice. I want to set the log level to number 4 (which is log level "low"), how do I do this so that every time TWS_Link is launched (loaded) the log level remains "fixed" on number 4/low? Is there a place in an XML file (if so, what is the name of this XML file?) ...
by Rocket130713
Wed Apr 25, 2018 3:29 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down
Replies: 9
Views: 14580

Re: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down

Hello, just in case I can help someone else, I thought I should report my final testing results and "past" problems re TWS-Link. I found that calling WAITDLL(5) many times in the TS script and trading with many scripts (trading 23 markets/charts) causes TS to lock-up/freeze/become non-responsive. Al...
by Rocket130713
Thu Apr 19, 2018 5:35 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down
Replies: 9
Views: 14580

Re: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down

Hello, what you said in your previous post makes sense. In my tests when I call WAITDLL(1) in between calling Get_Acc_Val function (50 times in a row i.e. sub-account 1-50) TS locks up only "a little bit", but if I use WAITDLL (999) in between calling functions TS locks up "completely". You are righ...
by Rocket130713
Wed Apr 18, 2018 7:51 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down
Replies: 9
Views: 14580

Re: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down

Hello, I was able to isolate the problem which caused TradeStation to lock-up and PC overheat and shut-down. It was due to using a 999ms sleep in between calling GET_POSITION function 50 times in a row, if I remove the WAITDLL(999); lines in between function calls TradeStation does not lock up and e...
by Rocket130713
Tue Apr 17, 2018 8:05 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down
Replies: 9
Views: 14580

Calling Get_Acc_Val & Get_Postions functions 50 times in a row caused my PC to overheat and shut down

Hello, in TradeStation script I called GET_ACC_VAL and GET_POSITIONS TWS-Link functions 50 times in a row (at once) with only 1ms sleep in between each function call and this caused my CPU to run at near 100% all the time as I have 23 scripts all running at once, and this then (for the first time ev...
by Rocket130713
Tue Apr 17, 2018 6:58 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Does TWSLink work fine on x64 OS machines?
Replies: 1
Views: 8658

Does TWSLink work fine on x64 OS machines?

Hello, does TWSLink work fine on a laptop (or desktop) that has Windows Seven 64-bit Operating System installed? I know for sure that TWSLink works great on 32 bit operating system computers. Just want to be sure before i go ahead and test TWSLink on a x64 machine which will take a long time to do a...
by Rocket130713
Fri Mar 30, 2018 3:28 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: TWS-Link "GET_EXCHANGE_RATE" function not working??
Replies: 1
Views: 8253

TWS-Link "GET_EXCHANGE_RATE" function not working??

Hello, In TradeStation 9.1 Easy-Language script I'm calling TWS-Link function as follows: Cbl = GET_EXCHANGE_RATE("GBP","USD"); but it does not work and always returns a zero (0.00) number. Our master and sub-accounts are in Australian dollars i.e AUDUSD, if this matters?. Could you please tell me w...
by Rocket130713
Thu Mar 22, 2018 10:53 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: What API settings should I use in TWS?
Replies: 1
Views: 9192

What API settings should I use in TWS?

Hello, I have attached a screenshot of the TWS API settings I'm using for auto trading, are these settings correct and optimal? Also, what value should I enter for the "Master API client ID" setting in the TWS API settings? I'm using the following code for connecting to TWS and IB server "once" at T...
by Rocket130713
Sun Mar 18, 2018 7:12 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: When do I call CONNECT function in TradeStation multiple scripts?
Replies: 3
Views: 9748

Re: When do I call CONNECT function in TradeStation multiple scripts?

Thank you so much for your reply. Really appreciate your wisdom and generous help. Thanks again. Kind regards, Rod.
by Rocket130713
Sat Mar 17, 2018 4:54 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: When do I call CONNECT function in TradeStation multiple scripts?
Replies: 3
Views: 9748

When do I call CONNECT function in TradeStation multiple scripts?

Hello, Let's assume we setup TradeStation (TS) platform to run all Charts via just ONE single process (and therefore only 1 TWS-Link instance is loaded). Let's then assume we have TS EasyLanguage Script 1, Script 2 and Script 3. Script 1 is attached to Gold chart in TS workspace number 1. Script 2 i...
by Rocket130713
Thu Mar 15, 2018 2:05 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Understanding all 13 OrderStatus states in TWS-Link
Replies: 1
Views: 29167

Understanding all 13 OrderStatus states in TWS-Link

Hello, If we place an order at the same time as the price moves outside of the CME's "price bands" (and therefore the market gets paused for 10 seconds) this example would mean our order gets "Rejected" by the CME exchange. --> What value (id) does OrderStatus return when the order is Rejected? --> ...
by Rocket130713
Thu Mar 15, 2018 1:46 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: How to call and get the "Net Liquidation Value" or "Cash Value" or "Available Funds" of an account??
Replies: 2
Views: 8702

Re: How to call and get the "Net Liquidation Value" or "Cash Value" or "Available Funds" of an account??

Thanks for such a quick response and help. I tried your suggestion: Ret_Acc_Val = GET_ACC_VAL(12,"USD","acc1,acc2,..,accn",0); but it did not work, when I called this function I got a strange Account value returned like $140 million whereas it should be around $6 million. Please note that calling Ne...
by Rocket130713
Wed Mar 14, 2018 4:50 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: How to call and get the "Net Liquidation Value" or "Cash Value" or "Available Funds" of an account??
Replies: 2
Views: 8702

How to call and get the "Net Liquidation Value" or "Cash Value" or "Available Funds" of an account??

Hello, I'm trying to call and get the "Net Liquidation Value" of our 5 sub-accounts combined, how do I do this? This is is code I'm using in our TradeStation EasyLanguage Script but it only returns the "Buying Power" of all accounts combined, instead, I need to get the "Net Liquidation Value" of all...
by Rocket130713
Tue Mar 13, 2018 11:53 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: TWS-Link / TradeStation Users / PC mutiple-cores / 4 orchart.exe processes / Order handling problems?
Replies: 3
Views: 9616

Re: TWS-Link / TradeStation Users / PC mutiple-cores / 4 orchart.exe processes / Order handling problems?

Thanks for your reply. If script 1 is attached to ES chart, and script 2 is attached to Gold chart, do i need to use CONNECT("",7496,1,500) line of code in both script 1 and script 2, or, do I use CONNECT("",7496,1,500) in Script 1, and, CONNECT("",7496,2,500) in Script 2? Please note that I have us...
by Rocket130713
Tue Mar 13, 2018 6:13 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: TWS-Link / TradeStation Users / PC mutiple-cores / 4 orchart.exe processes / Order handling problems?
Replies: 3
Views: 9616

TWS-Link / TradeStation Users / PC mutiple-cores / 4 orchart.exe processes / Order handling problems?

Hello, you mentioned that its ideal for Tradestation users to run Tradestation 9.1 using a single core on a quad-core PC to allow the trader to do proper order handling. We have a different script attached to 23 futures market charts (script 1 is attached to chart 1 and is using CPU 1 // and script ...
by Rocket130713
Tue Mar 13, 2018 5:36 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Fully automated trading using TradeStation 9.1 and TWS-Link
Replies: 6
Views: 13682

Re: Fully automated trading using TradeStation 9.1 and TWS-Link

Your solution worked very well. I can now use IB FA accounts and allocate trades based on "account groups" and also via "allocation profile" (both percentage and ratio methods). I must say your software is brilliant and works very well. Thanks again for your help. Kind regards, Rod.
by Rocket130713
Mon Mar 12, 2018 5:00 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Fully automated trading using TradeStation 9.1 and TWS-Link
Replies: 6
Views: 13682

Re: Fully automated trading using TradeStation 9.1 and TWS-Link

Hello, using TWS-Link and TradeStation 9.1, I was able to send an order to BUY 50 e-mini Nasdaq futures contracts to my IB master account (FA paper account), and then, based on "Account Groups" method TWS was able to allocate these 50 contracts to my 5 sub-accounts with all had equal Net Liquidation...
by Rocket130713
Fri Mar 09, 2018 8:33 am
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Fully automated trading using TradeStation 9.1 and TWS-Link
Replies: 6
Views: 13682

Re: Fully automated trading and TWS-Link

Thanks for your help. Really appreciate it. This is great software. Especially for the many TradeStation platform users out there.

Regards, Rod.