Trying to use the method "getPips" in Order_Mgmt.Execution from my custom strategy and got an error "Cannot find Symbol". I have imported the class -
import com.motivewave.platform.sdk.order_mgmt.Execution
Here is a snippit of the strategy:
public class MyStrategy extends MyStudy {
.
.
.
public void onBarClose(OrderContext ctx) {
DataContext dc = ctx.getDataContext();
Instrument instr = dc.getInstrument();
float epips = instr.getPips();
.
.
.
}
}
I'm new at Java programming and need some help in resolving this problem. Any suggestions will be appreciated.
import com.motivewave.platform.sdk.order_mgmt.Execution
Here is a snippit of the strategy:
public class MyStrategy extends MyStudy {
.
.
.
public void onBarClose(OrderContext ctx) {
DataContext dc = ctx.getDataContext();
Instrument instr = dc.getInstrument();
float epips = instr.getPips();
.
.
.
}
}
I'm new at Java programming and need some help in resolving this problem. Any suggestions will be appreciated.