|
@ -472,6 +472,14 @@ export class DataService { |
|
|
return this.http.post<OrderModel>(`/api/v1/account`, aAccount); |
|
|
return this.http.post<OrderModel>(`/api/v1/account`, aAccount); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public postBenchmark(benchmark: UniqueAsset) { |
|
|
|
|
|
return this.http.post(`/api/v1/benchmark`, benchmark); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public postOrder(aOrder: CreateOrderDto) { |
|
|
|
|
|
return this.http.post<OrderModel>(`/api/v1/order`, aOrder); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public postTransferAccountBalance({ |
|
|
public postTransferAccountBalance({ |
|
|
accountIdFrom, |
|
|
accountIdFrom, |
|
|
accountIdTo, |
|
|
accountIdTo, |
|
@ -484,14 +492,6 @@ export class DataService { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public postBenchmark(benchmark: UniqueAsset) { |
|
|
|
|
|
return this.http.post(`/api/v1/benchmark`, benchmark); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public postOrder(aOrder: CreateOrderDto) { |
|
|
|
|
|
return this.http.post<OrderModel>(`/api/v1/order`, aOrder); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public postUser() { |
|
|
public postUser() { |
|
|
return this.http.post<UserItem>(`/api/v1/user`, {}); |
|
|
return this.http.post<UserItem>(`/api/v1/user`, {}); |
|
|
} |
|
|
} |
|
|