SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Fri Oct 19, 2018 10:22 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jun 06, 2011 5:48 pm 
Offline

Joined: Mon Jan 25, 2010 9:27 pm
Posts: 9
Hi,
Is there a way to get the results for a strategy that are on the results tab (total transactions, long, winning, trades duration, etc) via the api?

Thanks,
Andrew


Top
 Profile  
 
PostPosted: Mon Jun 06, 2011 6:18 pm 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6808
Hi,

you can use Scenario feature for this. Take a look at this FAQ to understand how to use Scanario file and then check Scenario API for result summary properties/methods.

Name Description
AnnualReturn Gets Annual Return
Duration Gets Duration of the trading
FinalWealth Gets Final Wealth
InitialWealth Gets Initial Wealth
LongTrades Gets Long Trades #
LongTradesPnL Gets Long Trades PnL
LosingLongTrades Gets Losing Long Trades #
LosingShortTrades Gets Losing Short Trades #
LosingTrades Gets Losing Trades #
PnLPerLongTrade Gets PnL per Long Trade
PnLPerShortTrade Gets PnL per Short Trade
PnLPerTrade Gets PnL per Trade
ShortTrades Gets Short Trades #
ShortTradesPnL Gets Short Trades PnL
TotalPnL Gets Total PnL
TotalReturn Gets Total Return
TotalTrades Gets Total Trades #
TransactionsFrequency Gets Transactions Frequency
WinningLongTrades Gets Winning Long Trades #
WinningShortTrades Gets Winning Short Trades #
WinningTrades Gets Winning Trades #


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group