Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when i place order on sandbox - it gives error "Missing product_id" #23

Open
sbadar opened this issue Jan 27, 2018 · 0 comments
Open

when i place order on sandbox - it gives error "Missing product_id" #23

sbadar opened this issue Jan 27, 2018 · 0 comments

Comments

@sbadar
Copy link

sbadar commented Jan 27, 2018

I am able to use all other API functions other than placing a new order.

I am passing parameters as following:
/orders?product_id=BTC-USD&size=1&price=1&side=buy
and every time i get error "Missing product_id"

Any help??

Following is my code (for placing a hard-coded test order)

public async Task<ApiResponse<Object>> PlaceOrder() {
            var response = await this.GetResponseAsync<Object>(
             new ApiRequest(HttpMethod.Post, $"/orders?product_id=BTC-USD&size=1&price=1&side=buy&","")             
            );

            return response;
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant