<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Josef, <br>the "help" command is dead since few weeks, it's a known problem.<br>You might find some examples of how to use TS in the exs directory, and in the pdf's available on the website. <br>Release 887.2 is correct for TS.<br><br>Regards.<br><br>Sam.<br><br>--- En date de : <b>Sam 4.10.08, Josef Strobel <i><josef-strobel@web.de></i></b> a écrit :<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: Josef Strobel <josef-strobel@web.de><br>Objet: [ts-gen] Command problems with shim-081003<br>À: ts-general@trading-shim.org<br>Date: Samedi 4 Octobre 2008, 12h29<br><br><pre>Hi,<br><br>I'm running TWS Version 887.2, Aug 26 and shim-081003.<br>I used the user: edemo, passwd:demouser account from IB.<br><br>I can connect to the TWS, but when I try to run commands shim
crashes.<br>Command "ping" worked, but command "help" did not.<br><br>Best regards,<br><br>Josef<br><br><br>shim-081003 $ ./shim --data cout<br><br> The trading shim has connected to the database server<br> and loaded 51649 products; connected to the IB tws as<br> client id 1; and queried for the account code, which<br> seems to be DU15009. Program initialization has been<br> completed.<br><br>19265|44536| 12329514|4|100| 0|# |4|100|0|****************|<br>19265|44536| 12329542|4|101| 0|# |4|101|0|0.85|081003|data|<br>19265|44536| 12329550|4|100| 0|# |4|100|0|****************|<br>19265|44536| 12329499|4|102| 0|# |4|102|0|23|1|42|20081004 12:22:16<br>CET|Connect with: cv 23, id 1, sv 42|<br>19265|44536| 12329448|3| 9| 1|1|<br>19265|44536| 12428215|3| 4| 2| -1|2104|Market data farm connection is<br>OK:ibdemo|<br>19265|44536| 12428271|3| 6| 2|AccountCode | DU15009|
<br>|DU15009|<br>19265|44536| 12480114|3| 6| 2|AccountType |UNIVERSAL| <br>|DU15009|<br>19265|44536| 12480160|3| 6| 2|AccruedCash | <br>0.00|BASE|DU15009|<br>19265|44536| 12480227|3| 6| 2|AccruedCash | 0.00|USD<br>|DU15009|<br>19265|44536| 12480273|3| 6| 2|AccruedCash-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12480319|3| 6| 2|AccruedCash-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12480364|3| 6| 2|AccruedDividend | 0.00|USD<br>|DU15009|<br>19265|44536| 12480425|3| 6| 2|AccruedDividend-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12480473|3| 6| 2|AccruedDividend-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12480522|3| 6| 2|AvailableFunds |500000.00|USD<br>|DU15009|<br>19265|44536| 12480569|3| 6| 2|AvailableFunds-C |
0.00|USD<br>|DU15009|<br>19265|44536| 12480618|3| 6| 2|AvailableFunds-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12480663|3| 6| 2|Billable | 0.00|USD<br>|DU15009|<br>19265|44536| 12480705|3| 6| 2|Billable-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12480754|3| 6| 2|Billable-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12480801|3| 6| 2|BuyingPower |2000000.00|USD<br>|DU15009|<br>19265|44536| 12480844|3| 6| 2|CashBalance <br>|500000.00|BASE|DU15009|<br>19265|44536| 12480891|3| 6| 2|CashBalance |500000.00|USD<br>|DU15009|<br>19265|44536| 12480930|3| 6| 2|Currency | <br>BASE|BASE|DU15009|<br>19265|44536| 12480971|3| 6| 2|Currency | USD|USD<br>|DU15009|<br>19265|44536| 12481006|3| 6| 2|Cushion | 1|
<br>|DU15009|<br>19265|44536| 12481044|3| 6| 2|DayTradesRemaining | -1| <br>|DU15009|<br>19265|44536| 12481091|3| 6| 2|DayTradesRemainingT+1 | -1| <br>|DU15009|<br>19265|44536| 12481134|3| 6| 2|DayTradesRemainingT+2 | -1| <br>|DU15009|<br>19265|44536| 12481175|3| 6| 2|DayTradesRemainingT+3 | -1| <br>|DU15009|<br>19265|44536| 12481218|3| 6| 2|DayTradesRemainingT+4 | -1| <br>|DU15009|<br>19265|44536| 12481268|3| 6| 2|EquityWithLoanValue |500000.00|USD<br>|DU15009|<br>19265|44536| 12481318|3| 6| 2|EquityWithLoanValue-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12481370|3| 6| 2|EquityWithLoanValue-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12481427|3| 6| 2|ExcessLiquidity |500000.00|USD<br>|DU15009|<br>19265|44536| 12481475|3| 6| 2|ExcessLiquidity-C |
0.00|USD<br>|DU15009|<br>19265|44536| 12481525|3| 6| 2|ExcessLiquidity-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12481567|3| 6| 2|ExchangeRate | <br>1.00|BASE|DU15009|<br>19265|44536| 12481611|3| 6| 2|ExchangeRate | 1.00|USD<br>|DU15009|<br>19265|44536| 12481660|3| 6| 2|FullAvailableFunds |500000.00|USD<br>|DU15009|<br>19265|44536| 12481710|3| 6| 2|FullAvailableFunds-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12481762|3| 6| 2|FullAvailableFunds-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12481820|3| 6| 2|FullExcessLiquidity |500000.00|USD<br>|DU15009|<br>19265|44536| 12481871|3| 6| 2|FullExcessLiquidity-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12481923|3| 6| 2|FullExcessLiquidity-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12481973|3| 6| 2|FullInitMarginReq |
0.00|USD<br>|DU15009|<br>19265|44536| 12482021|3| 6| 2|FullInitMarginReq-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12482070|3| 6| 2|FullInitMarginReq-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12482119|3| 6| 2|FullMaintMarginReq | 0.00|USD<br>|DU15009|<br>19265|44536| 12482174|3| 6| 2|FullMaintMarginReq-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12482223|3| 6| 2|FullMaintMarginReq-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12482267|3| 6| 2|FutureOptionValue | <br>0.00|BASE|DU15009|<br>19265|44536| 12482315|3| 6| 2|FutureOptionValue | 0.00|USD<br>|DU15009|<br>19265|44536| 12482355|3| 6| 2|FuturesPNL | <br>0.00|BASE|DU15009|<br>19265|44536| 12482399|3| 6| 2|FuturesPNL | 0.00|USD<br>|DU15009|<br>19265|44536| 12482445|3| 6| 2|GrossPositionValue |
0.00|USD<br>|DU15009|<br>19265|44536| 12482499|3| 6| 2|GrossPositionValue-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12482546|3| 6| 2|InitMarginReq | 0.00|USD<br>|DU15009|<br>19265|44536| 12482592|3| 6| 2|InitMarginReq-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12482638|3| 6| 2|InitMarginReq-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12482677|3| 6| 2|Leverage-S | 0.00| <br>|DU15009|<br>19265|44536| 12482727|3| 6| 2|LookAheadAvailableFunds |500000.00|USD<br>|DU15009|<br>19265|44536| 12482780|3| 6| 2|LookAheadAvailableFunds-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12482835|3| 6| 2|LookAheadAvailableFunds-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12482916|3| 6| 2|LookAheadExcessLiquidity |500000.00|USD<br>|DU15009|<br>19265|44536| 12482970|3| 6| 2|LookAheadExcessLiquidity-C |
0.00|USD<br>|DU15009|<br>19265|44536| 12483025|3| 6| 2|LookAheadExcessLiquidity-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12483078|3| 6| 2|LookAheadInitMarginReq | 0.00|USD<br>|DU15009|<br>19265|44536| 12483129|3| 6| 2|LookAheadInitMarginReq-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12483180|3| 6| 2|LookAheadInitMarginReq-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12483231|3| 6| 2|LookAheadMaintMarginReq | 0.00|USD<br>|DU15009|<br>19265|44536| 12483290|3| 6| 2|LookAheadMaintMarginReq-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12483342|3| 6| 2|LookAheadMaintMarginReq-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12483386|3| 6| 2|LookAheadNextChange | 0| <br>|DU15009|<br>19265|44536| 12483431|3| 6| 2|MaintMarginReq | 0.00|USD<br>|DU15009|<br>19265|44536| 12483477|3| 6| 2|MaintMarginReq-C |
0.00|USD<br>|DU15009|<br>19265|44536| 12483524|3| 6| 2|MaintMarginReq-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12483572|3| 6| 2|NetLiquidation |500000.00|USD<br>|DU15009|<br>19265|44536| 12483620|3| 6| 2|NetLiquidation-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12483674|3| 6| 2|NetLiquidation-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12483724|3| 6| 2|NetLiquidationByCurrency <br>|500000.00|BASE|DU15009|<br>19265|44536| 12483779|3| 6| 2|NetLiquidationByCurrency |500000.00|USD<br>|DU15009|<br>19265|44536| 12483825|3| 6| 2|OptionMarketValue | <br>0.00|BASE|DU15009|<br>19265|44536| 12483873|3| 6| 2|OptionMarketValue | 0.00|USD<br>|DU15009|<br>19265|44536| 12483908|3| 6| 2|PNL | true| <br>|DU15009|<br>19265|44536| 12483946|3| 6| 2|RealizedPnL |
<br>0.00|BASE|DU15009|<br>19265|44536| 12483995|3| 6| 2|RealizedPnL | 0.00|USD<br>|DU15009|<br>19265|44536| 12484040|3| 6| 2|RegTEquity |500000.00|USD<br>|DU15009|<br>19265|44536| 12484087|3| 6| 2|RegTEquity-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12484132|3| 6| 2|RegTMargin | 0.00|USD<br>|DU15009|<br>19265|44536| 12484175|3| 6| 2|RegTMargin-S | 0.00|USD<br>|DU15009|<br>19265|44536| 12484218|3| 6| 2|SMA |500000.00|USD<br>|DU15009|<br>19265|44536| 12484261|3| 6| 2|SMA-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12484303|3| 6| 2|StockMarketValue | <br>0.00|BASE|DU15009|<br>19265|44536| 12484356|3| 6| 2|StockMarketValue | 0.00|USD<br>|DU15009|<br>19265|44536| 12484401|3| 6| 2|TotalCashBalance
<br>|500000.00|BASE|DU15009|<br>19265|44536| 12484451|3| 6| 2|TotalCashBalance |500000.00|USD<br>|DU15009|<br>19265|44536| 12484500|3| 6| 2|TotalCashValue |500000.00|USD<br>|DU15009|<br>19265|44536| 12484548|3| 6| 2|TotalCashValue-C | 0.00|USD<br>|DU15009|<br>19265|44536| 12484596|3| 6| 2|TotalCashValue-S |500000.00|USD<br>|DU15009|<br>19265|44536| 12484648|3| 6| 2|UnalteredInitMarginReq | -1.00|USD<br>|DU15009|<br>19265|44536| 12484705|3| 6| 2|UnalteredMaintMarginReq | -1.00|USD<br>|DU15009|<br>19265|44536| 12484749|3| 6| 2|UnrealizedPnL | <br>0.00|BASE|DU15009|<br>19265|44536| 12484794|3| 6| 2|UnrealizedPnL | 0.00|USD<br>|DU15009|<br>19265|44536| 12484834|3| 6| 2|WhatIfPMEnabled | true| <br>|DU15009|<br>19265|44536| 12484859|3| 8| 1|12:19|<br>ping;<br>19265|44538| 16558490|1| 5|
0|ping;|<br>help;<br>For type target < HlpK> and token text: <;<br>><br>predicted token type: sym, scanner saw: pun<br>Problem: 401 unexpected token text: syntax error<br>Scan: 4 6 0 <;<br>><br>Term: help HlpK (nil)<br>Grammar rule: Terminal (HlpK)<br>Grammar rule: Compound (help)<br>Syntax error:<br>Cursor state: match; text is:<br>help;<br>-----<br>Terminal tag: name:HlpK index:1<br>For indices: 1 0<br>buffer size: 6<br>buffer text: <><br>target type: Dsc<br><br>Problem: 547 ice: scanner fsa would step past avail input<br>Exiting<br>_______________________________________________<br>ts-general mailing list<br>ts-general@trading-shim.org<br>http://www.trading-shim.org/mailman/listinfo/ts-general<br></pre></blockquote></td></tr></table><br>