Questions tagged [trading]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
62 views

0x API: Am I able to Swap absolutely NEW coins?

I have a trading bot that operates on newly created tokens in BSC and ETH networks. It works only for new tokens, that were created with WBNB (BSC chain with PancakeSwap) or with WETH (ETH chain with ...
Danik Logan's user avatar
0 votes
0 answers
21 views

Hello I think I got scam and need validation of it [duplicate]

Hello can someone validate the contract I've created was indeed a scam. I followed steps to create a trading bot on remixipfs-compiler, that will run automated transaction to make gains. but the money ...
Christian's user avatar
1 vote
0 answers
18 views

How to calculate the weighted average price on binance?

can somebody please answer the question below? What is the weighted average trade price of the ETH/USDT SPOT trading pair on the Binance.com platform on January 1st, 2023, in UTC time, considering the ...
Haider Mansoor's user avatar
0 votes
1 answer
977 views

How to access or calculate slippage from Uniswap-V3 trades on-chain?

I know we can extract swapping information on a Uniswap V3 LP pool (for example - https://info.uniswap.org/#/polygon/pools/0xefa98fdf168f372e5e9e9b910fcdfd65856f3986). Is there a way to find out the ...
KubiK888's user avatar
  • 103
0 votes
1 answer
32 views

After registry of both the consumer and prosumer properly, when I try to do the transaction, the transaction is reverted

//SPDX-License-Identifier:GPL-3.0 pragma solidity 0.8.13; contract trade{ constructor() { owner = msg. sender; } address owner; modifier onlyOwner { require(msg.sender == ...
Shekh Shihab Uddin's user avatar
0 votes
0 answers
56 views

How to simulate and minimize the price impact by splitting a large purchase into smaller chunks and over a number of days?

Let's say a trading firm wants to buy $5 MIL worth of SYN (https://www.coingecko.com/en/coins/synapse) in Uniswap V3 pools. SYN currently has a market cap of $135 MIL. I know how to calculate the ...
KubiK888's user avatar
  • 103
0 votes
0 answers
35 views

Code which copy tradeers in pankakeswap doesnt work

So Im trying to use tihs code to copy traders in pancakeswap. But when the code achive the line (how i think) let decodedData = iface.parseTransaction({ data: txInfo.data }) code doesnt do bet like a ...
ra1n89's user avatar
  • 139
0 votes
1 answer
180 views

I renounced ownership but didn’t put trading as true

I renounced ownership but didn’t put trading as true .. it is a multi owner contract but for some reason I cannot enable trading yet can call every other function .. how can I remove lp now ? https://...
James Vine's user avatar
1 vote
0 answers
169 views

Gas estimation errored. Error: Transaction reverted without a reason string

Im building a trading bot with solidity, uniswap, sushiswap and dydx for the flashloans, when i execute the executeTrade function i get this error: Gas estimation errored with the following message (...
Shadq's user avatar
  • 83
1 vote
1 answer
245 views

How multi-hop bots finds the best way?

I have seen many bots perform multi-hop swaps to get the best arbitrage opportunity. So how do they find a such best path & exchange for their multi-hop swaps which gives the best returns? For eg ...
Rishabh Raghwendra's user avatar
1 vote
0 answers
24 views

Is this the correct way to make an ERC-20 backed by other coins?

I'm new to smart contract development and wanted to make a coin that functions like an index for my favorite coins. I'm new to smart contract development and was wondering how I could do this such ...
J. Doe's user avatar
  • 105
1 vote
2 answers
450 views

Liquidity locking and ETH loose

When you provide liquidity to a liquidity pool, you add 2 different tokens and you get LP Token (liquidity pool tokens). You can recover your 2 tokens amount when you give back your LP Tokens, ...
Alexander Herranz's user avatar
0 votes
1 answer
471 views

Is there a grid trading option for Ethereum DEX'es like uniswap and sushiswap?

Currently DEX'es like uniswap and sushiswap can only do basic swap orders, but is there a service or way to do grid trading using these types of DEX'es? Or is there another L2 that can do this? ...
Patoshi パトシ's user avatar
1 vote
1 answer
53 views

Why are Ether gas fees lower during the weekends?

Why are gas fees lower over the weekend (Saturday, Sunday)? This question is not exactly a coding problem but would help me understand a few things conceptually. My observation is that the traded ...
Konstantin Grigorov's user avatar
1 vote
1 answer
1k views

How pancakeswap website find a multi-hop path to trade a coin

I publish tokenA I add liquidity to tokenA/usdt I then want to use my "cake" to get tokenA Pancakeswap website discover there is no liquidity cake->tokenA, it then could very ...
Aron's user avatar
  • 33
1 vote
1 answer
2k views

Does my token approval for trading on Uniswap expire after a certain time?

I'm doing some trades on Uniswap and I approved token trading on one of the tokens. But I'm getting another approval request. Do these approvals expire after a certain time? It doesnt make sense to ...
Patoshi パトシ's user avatar
0 votes
1 answer
76 views

Cannot approve transaction on Matcha [closed]

After I hit approve, this immediately showed up. I tried several times, reset, etc. still didn't work
Vince's user avatar
  • 1
0 votes
1 answer
68 views

how to track swaps through affiliateAddress or feeRecipient that are done through 0x api?

I found in the documentation that affiliateAddress can be used to track swaps that are sent to the 0x api, but how to filter this data based on affiliateAddress, I haven't found any way to track the ...
Ikram Ansari's user avatar
0 votes
2 answers
154 views

Can I trade ETH from a private blockchain on to a public blockchain?

say I buy a certain amount of ETH per private blockchain and move my assets to my ETH wallet. Do I then have the option to trade those (private) ETH on a public blockchain, using the same wallet as ...
Saphire's user avatar
  • 111
0 votes
1 answer
62 views

How to introduce erc20 token to coinbase and give it its initial value

How can I add my newly deployed token to coinbase to put it for trading, how can I associate to it a certain value in dollars? Is it something similar to the liquidity pools of the AMMs where you ...
Kaki Master Of Time's user avatar