account balance

Created at 01 Feb 2024, 11:00
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
UL

ultmnc

Joined 19.07.2023

account balance
01 Feb 2024, 11:00


Good day 

please advise how i can get account balance programmatically using openapipy

I require this function as referencing every few moments to properly  implement trade logic

 

thank you


@ultmnc
Replies

PanagiotisCharalampous
02 Feb 2024, 07:27

Hi there,

You can find the account's balance in the ProtoOATrader message. You can retrieve your account's information using ProtoOATraderReq


@PanagiotisCharalampous