Hi there!
After some diffcult implementations of my own strategies, I'm now ready to test this witch the PaperTrade functionality of eSignal.
Could anyone help me, how to use the different functions.
I don't no whixg function I have to use in the differetn cases.
The basic help isn't really helpfull.
what should I implement the following snippets:
/* ther ist the buy/sell trigger */
if(buy){
trade.buyMarket("symbol",1);
}else if(sell){
trade.sellMarket(("symbol",1);
}
/* close trade when short or long */
if(isLong && stopTrigger){
trade.sellMarket(("symbol",1)
}else if(isShort && stopTrigger){
trade.sellShortMarket("symbol",1);
}
Is the code above correct?
Could I find any sample code in the forum?
Many thanks for yout answer!!!
Greetings
Markus
After some diffcult implementations of my own strategies, I'm now ready to test this witch the PaperTrade functionality of eSignal.
Could anyone help me, how to use the different functions.
I don't no whixg function I have to use in the differetn cases.
The basic help isn't really helpfull.
what should I implement the following snippets:
/* ther ist the buy/sell trigger */
if(buy){
trade.buyMarket("symbol",1);
}else if(sell){
trade.sellMarket(("symbol",1);
}
/* close trade when short or long */
if(isLong && stopTrigger){
trade.sellMarket(("symbol",1)
}else if(isShort && stopTrigger){
trade.sellShortMarket("symbol",1);
}
Is the code above correct?
Could I find any sample code in the forum?
Many thanks for yout answer!!!
Greetings
Markus
Comment