EL Code to get number of shares owned - futures io
futures io



EL Code to get number of shares owned


Discussion in EasyLanguage Programming

Updated
    1. trending_up 3,286 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

EL Code to get number of shares owned

(login for full post details)
  #1 (permalink)
swingbatter
Arlington
 
 
Posts: 18 since Feb 2020
Thanks: 6 given, 2 received

In EasyLanguage, the "marketposition" command can tell you whether you are long, short, or flat on a stock. But what command can fetch your current position size? if there isn't one, what is a workaround?

Reply With Quote

Can you help answer these questions
from other members on futures io?
How do I create Strategy with the Second Entry indicator
NinjaTrader
Market on Close data within IB
Platforms and Indicators
How to pay for market data with Dorman LLC
NinjaTrader
Big Mo Indicator for NT8
NinjaTrader
NT8 Order Management Strategy
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Is anyone actually making money?
88 thanks
An embarrassing, honest confession
25 thanks
ApexTraderFunding.com experience and review
8 thanks
Sierra vs. Ninja : why I chose .....
8 thanks
Want your NinjaTrader indicator created, free?
7 thanks
 
(login for full post details)
  #2 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,361 since Apr 2013
Thanks: 426 given, 1,579 received

swingbatter,

take a look at the reserved words CurrentContracts or CurrentShares.

Regards,

ABCTG


swingbatter View Post
In EasyLanguage, the "marketposition" command can tell you whether you are long, short, or flat on a stock. But what command can fetch your current position size? if there isn't one, what is a workaround?


Follow me on Twitter Reply With Quote
The following 2 users say Thank You to ABCTG for this post:


futures io Trading Community Platforms and Indicators EasyLanguage Programming > EL Code to get number of shares owned


Last Updated on March 26, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2023 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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