Thank you for help, I’ve managed to get this code finally. But the testing does not go through and I can’t save the workflow (for some reason it freezes while saving or testing it)
I’ll try my best with this.
Here’s the final code as I managed to handle it:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bybit: {
type: "app",
app: "bybit",
},
API_PATH: {
label: "API PATH",
description: "HTTP Method as per API documentation",
type: "string",
optional: false,
options: [
"https://api.bybit.com/v2/private/linear/order/create",
"https://api.bybit.com/v2/public/time",
],
},
API_METHOD: {
label: "HTTP Method",
description: "HTTP Method as per API documentation",
type: "string",
optional: false,
options: [
"GET",
"POST",
],
},
symbol: {
label: "symbol",
description: "HTTP Method as per API documentation",
type: "string",
optional: false,
},
side: {
label: "side",
description: "parameter",
type: "string",
optional: false,
},
order_type: {
label: "order_type",
description: "parameter",
type: "string",
optional: false,
},
qty: {
label: "quanity",
description: "parameter",
type: "string",
optional: false,
},
price: {
label: "price",
description: "parameter",
type: "string",
optional: false,
},
time_in_force: {
label: "time_in_force",
description: "parameter",
type: "string",
optional: false,
},
reduce_only: {
label: "reduce_only",
description: "parameter",
type: "string",
optional: false,
},
close_on_trigger: {
label: "close_on_trigger",
description: "parameter",
type: "string",
optional: false,
},
order_link_id: {
label: "order_link_id",
description: "parameter",
type: "string",
optional: false,
},
take_profit: {
label: "take_profit",
description: "parameter",
type: "string",
optional: false,
},
stop_loss:{
label: "stop_loss",
description: "parameter",
type: "string",
optional: false,
},
tp_trigger_by:{
label: "tp_trigger_by",
description: "parameter",
type: "string",
optional: false,
},
sl_trigger_by: {
label: "sl_trigger_by",
description: "parameter",
type: "string",
optional: false,
},
position_idx: {
label: "position_idx",
description: "parameter",
type: "string",
optional: false,
},
},
async run({ $ }) {
const returnValue = await this.bybit.makeRequest(API_METHOD, API_PATH, this);
if (returnValue.ret_code) {
throw new Error(returnValue.ret_msg);
} else {
$.export("$summary", "Active Order Placed Successfully");
}
return returnValue;
},
})
it doesn’t show any errors, nor completes the testing. I suppose something is wrong with the request, will try hard tomorrow! 
Thank you once again for guiding me into a solution!