Skip to main content
The Deno 2 Release Candidate is here
Learn more
method RagfairController.prototype.createBuyTradeRequestObject
import { RagfairController } from "https://deno.land/x/sptaki@1.2.0/controllers/RagfairController.d.ts";

Create a basic trader request object with price and currency type

Parameters

currency: string

What currency: RUB, EURO, USD

value: number

Amount of currency

Returns

IProcessBuyTradeRequestData