Ejemplo n.º 1
0
        /// <summary>
        /// List tradable instruments List all tradable assets (instruments, equities, securities).
        /// </summary>
        /// <exception cref="SimpleFx.Client.Generated.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of Dictionary&lt;string, InlineResponse2001&gt;</returns>
        public async System.Threading.Tasks.Task <Dictionary <string, InlineResponse2001> > UtilsInstrumentsJsonGetAsync()
        {
            SimpleFx.Client.Generated.Client.ApiResponse <Dictionary <string, InlineResponse2001> > localVarResponse = await UtilsInstrumentsJsonGetAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// List your trading and demo accounts This Request is limmited.  It can not be called more than once per 5 minutes.  Client shall store and track account status returned with trade execution report.
        /// </summary>
        /// <exception cref="SimpleFx.Client.Generated.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of InlineResponse2002</returns>
        public async System.Threading.Tasks.Task <InlineResponse2002> V3AccountsGetAccountsAsync()
        {
            SimpleFx.Client.Generated.Client.ApiResponse <InlineResponse2002> localVarResponse = await V3AccountsGetAccountsAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// List tradable instruments List all tradable assets (instruments, equities, securities).
 /// </summary>
 /// <exception cref="SimpleFx.Client.Generated.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>Dictionary&lt;string, InlineResponse2001&gt;</returns>
 public Dictionary <string, InlineResponse2001> UtilsInstrumentsJsonGet()
 {
     SimpleFx.Client.Generated.Client.ApiResponse <Dictionary <string, InlineResponse2001> > localVarResponse = UtilsInstrumentsJsonGetWithHttpInfo();
     return(localVarResponse.Data);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// List your trading and demo accounts This Request is limmited.  It can not be called more than once per 5 minutes.  Client shall store and track account status returned with trade execution report.
 /// </summary>
 /// <exception cref="SimpleFx.Client.Generated.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>InlineResponse2002</returns>
 public InlineResponse2002 V3AccountsGetAccounts()
 {
     SimpleFx.Client.Generated.Client.ApiResponse <InlineResponse2002> localVarResponse = V3AccountsGetAccountsWithHttpInfo();
     return(localVarResponse.Data);
 }
Ejemplo n.º 5
0
        /// <summary>
        /// Get status of an account This Request is limmited.  It can not be called more than once per 5 minutes.  Client shall store and track account status returned with trade execution report.
        /// </summary>
        /// <exception cref="SimpleFx.Client.Generated.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="reality"></param>
        /// <param name="account"></param>
        /// <returns>Task of InlineResponse2003</returns>
        public async System.Threading.Tasks.Task <InlineResponse2003> V3AccountsGetAccountAsync(Reality reality, int account)
        {
            SimpleFx.Client.Generated.Client.ApiResponse <InlineResponse2003> localVarResponse = await V3AccountsGetAccountAsyncWithHttpInfo(reality, account);

            return(localVarResponse.Data);
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Get status of an account This Request is limmited.  It can not be called more than once per 5 minutes.  Client shall store and track account status returned with trade execution report.
 /// </summary>
 /// <exception cref="SimpleFx.Client.Generated.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="reality"></param>
 /// <param name="account"></param>
 /// <returns>InlineResponse2003</returns>
 public InlineResponse2003 V3AccountsGetAccount(Reality reality, int account)
 {
     SimpleFx.Client.Generated.Client.ApiResponse <InlineResponse2003> localVarResponse = V3AccountsGetAccountWithHttpInfo(reality, account);
     return(localVarResponse.Data);
 }
Ejemplo n.º 7
0
        /// <summary>
        /// Obtain auhtorization token for other requests
        /// </summary>
        /// <exception cref="SimpleFx.Client.Generated.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="inlineObject"></param>
        /// <returns>Task of InlineResponse200</returns>
        public async System.Threading.Tasks.Task <InlineResponse200> ApiV3AuthKeyPostAsync(InlineObject inlineObject)
        {
            SimpleFx.Client.Generated.Client.ApiResponse <InlineResponse200> localVarResponse = await ApiV3AuthKeyPostAsyncWithHttpInfo(inlineObject);

            return(localVarResponse.Data);
        }
Ejemplo n.º 8
0
 /// <summary>
 /// Obtain auhtorization token for other requests
 /// </summary>
 /// <exception cref="SimpleFx.Client.Generated.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="inlineObject"></param>
 /// <returns>InlineResponse200</returns>
 public InlineResponse200 ApiV3AuthKeyPost(InlineObject inlineObject)
 {
     SimpleFx.Client.Generated.Client.ApiResponse <InlineResponse200> localVarResponse = ApiV3AuthKeyPostWithHttpInfo(inlineObject);
     return(localVarResponse.Data);
 }