- ago
About NSF situation

Setting :

Position Size : Percent of Equity
Percent : 50
Basis Price : Market Open next Bar

What's the logic of buy quantity or sell quantity?

Thx.
0
1,056
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
QUOTE:
About NSF situation

You can find NSF explained in the Help and a YouTube video in this FAQ:
https://www.wealth-lab.com/Support/Faq
QUOTE:
What's the logic of buying or selling volume?

Can you rephrase or clarify your question? Who's buying and what "volume"?
0
Cone8
 ( 6.17% )
- ago
#2
QUOTE:
What's the logic of buy quantity or sell quantity?


Re: buy quantity
Please refer to the Help Guide (F1) > Strategy > Strategy Settings > Position Size
Although you can set a Quantity in your strategy code if you need that, size is usually controlled by the selected Position Sizer. Consequently, your code will just PlaceTrade(TransactionType.Buy, ..) and the size is "automatic".

Re: sell quantity
Wealth-Lab is "Position-based". A Position has many properties, like Symbol, PositionType, Bar History object, ... , and Quantity (see QuickRef > Position Class). You strategy code will sell a Position, which already has a Quantity based on the Position.Quantity property, again, usually assigned by Position Sizing logic.
0
Best Answer

Reply

Bookmark

Sort