• BTC/USD $31,902.66 USD
  • ETH/USD $1,207.65 USD
  • LTC/USD $140.02 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

  • 0 Answers
    • haasscript
    • visual editor
    asked 9 months ago

    I am using the HaasScript editor.


  • Shoe 4 months 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.