Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [trading]

The tag has no usage guidance.

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

BASE ETH -> USDT trade using Uniswap on the BASE chain with typescript

I have an assignment to develop the following task: Task Create a working trade using Uniswap on the BASE chain See docs https://docs.uniswap.org/sdk/v3/guides/swaps/trading RPC - https://mainnet....
polonio's user avatar
  • 101
1 vote
1 answer
21 views

Smart Contracts data for a thesis on commodity trading

I am considering writing my master's thesis in finance on smart contracts and commodity trading. I would like to conduct an analysis on the trading behavior of smart contracts as opposed to ...
gerscorpion's user avatar
0 votes
1 answer
34 views

How to go about building a spam sniper bot on ethereum

I am interested in sniping[buying] tokens in the very first block in which their trading gets enabled. However, for most tokens I find the transaction to enable trading is sent privately bypassing the ...
explorer66's user avatar
0 votes
0 answers
31 views

How to generate multi hop swap path with ethers.js?

everyone. I am beginner to blockchain development. Currently I have worked in a web3 project with ethers.js. Now I am going to use Uniswap's multi hop swap. I got SwapRoute instance. But the smart ...
Pavlo Posternak's user avatar
0 votes
0 answers
123 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
37 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
1k 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
67 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
1 answer
274 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
189 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
  • 93
1 vote
1 answer
271 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
25 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
3 answers
556 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
499 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
64 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
82 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
167 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
64 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