publicações Analysing the optimal level of leverage in stock market using numerical methods and agent-based modelling Documento