KE
    
        
            Get trade wins and losses
            
                 03 Dec 2023, 01:13
            
                    
I want to calculate the number of lots for the next trade by getting the win/loss information from the previous trade, but I don't know the code to get the win/loss information. thank you.
Replies
                     kei.3434.get
                     05 Dec 2023, 12:18
                                            ( Updated at: 06 Dec 2023, 06:16 )
                                    
RE: Use the HIstoricalTrade object
firemyst said:
You could look at the example Spotware provided:
https://help.ctrader.com/ctrader-automate/references/Trading/History/HistoricalTrade/#examples
thank you.
@kei.3434.get

firemyst
03 Dec 2023, 10:18 ( Updated at: 04 Dec 2023, 08:32 )
Use the HIstoricalTrade object
You could look at the example Spotware provided:
https://help.ctrader.com/ctrader-automate/references/Trading/History/HistoricalTrade/#examples
@firemyst