[ts-gen] Query for Current Position

Ken Feng kfmfe04 at gmail.com
Tue Aug 25 12:52:38 EDT 2009


Hi Russ,

Thanks for the quick reply.  I will try it out.

- K

On 8/26/09, R P Herrold <herrold at owlriver.com> wrote:
> On Wed, 26 Aug 2009, Ken Feng wrote:
>
>> Is there a shim command to query TWS for the current position?
>> Listing all securities, currencies, and contracts?
>
> select acct;
>
> seems to provoke an immediate re-listing of such here.  There
> is also a (not expressly documented, to my knowledge) refresh
> algorithm in play, which seems to repeat the full details at
> about three minute intervals, and then modifiers that fire, as
> when currency exchange ratios change for securities held in
> the non-base currency.  Others may exist as well.
>
> -- Russ herrold
> _______________________________________________
> ts-general mailing list
> ts-general at trading-shim.org
> http://www.trading-shim.org/mailman/listinfo/ts-general
>


More information about the ts-general mailing list