Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 03:06:14 +0000



Post From: What Parameter is Missing

[2020-06-22 15:02:20]
User769783 - Posts: 188
This is a snippet from my ASCIL code:
...........
...........
  /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
  /* Get Current Traded Bid Volume@Price */
  /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
  /*The sc.GetCurrentTradedBidVolumeAtPrice returns the Bid Volume traded at the given Price for the symbol of the chart
  of which the study instance that calls this function is applied to. For more detailed information, refer to Chart/Trade DOM Column Descriptions.

For this data to be up-to-date and available, there must be a connection to the data feed, or the chart needs to be replaying*/
  
  int CurTradedBidVolumeAtPrice = sc.GetCurrentTradedBidVolumeAtPrice("A certain Price goes here");
...........................
...........................
What price parameter do I put in the parenthesis? When I build the strategy I receive an error showing this line. When I comment this line out, it builds successfully. I don't know what to put there. I'm sure it's simple but my ASCIL programming is limited. Thanks