• BTC/USD $57,851.00 USD
  • ETH/USD $4,351.05 USD
  • LTC/USD $201.42 USD

Newbie question;How can we get the open market position data?I would like to have access to the number of open positions (long and short).thanks!Jonathan

  • 1 Answer
    • haasscript
    • visual editor
    1457
    asked 2 years ago

    I am using the HaasScript editor.

    Answer:

    Hi Jonathan, The answer is probably a bit late but you can use GetAllOpenPositions() to achieve what you want. Documentation: https://help.haasonline.com/api/haasscript/commands/position-information#getallopenpositions

1 Comments

  • Shoe 1 year ago
    Hi Jonathan, The answer is probably a bit late but you can use GetAllOpenPositions() to achieve what you want. Documentation: https://help.haasonline.com/api/haasscript/commands/position-information#getallopenpositions

Have more to add? Share your knowledge

The community content is generated by people from the community and is actively moderated. However, we do not endorse or claim to maintain any user generated content, links, tutorials, guides, projects, or questions that may appear in community sections.