|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
getLabel |
[SquareRoot]
|
Post subject: getLabel |
Post rating: 0
|
Posted: Sun 02 Jan, 2011, 20:56
|
|
User rating: 0
Joined: Tue 15 Sep, 2009, 00:44 Posts: 20
|
After opening an order I am trying to capture the order label.
public class ............ IStrategy { private IOrder MyOrder = null;
public boolean Order( .... ){ MyOrder = engine.submitOrder(getLabel(myInstrument), myInstrument, Type, Quantity, Entry, Slippage, Stop, Target); string MyOrderLabel = MyOrder.getLabel();
I get the following error msg. The API shows getLabel() as a string. Why do I get the error msg?
error msg= 19:48:35 string cannot be resolved to a type
|
|
|
|
 |
API Support
|
Post subject: Re: getLabel |
Post rating: 0
|
Posted: Fri 07 Jan, 2011, 16:25
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Hi, Please use String MyOrderLabel with capital S.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|