988
questions
-3
votes
0
answers
16
views
New into Trading bot development [closed]
Im new into trading bots like really new, I want to know where to start and which is best profitable trading bot and which is the simplest one actually I want to built a trading bot for my FYP project....
0
votes
1
answer
22
views
Uniswap V2 Quoting using reserves - getamountout methods
I have been having abit of issue with quoting on uniswap v2 based exchanges. I am extracting the reserves and using the formula. - univ2_formula = lambda amount_in, in_lq, out_lq: (out_lqamount_in0....
-1
votes
0
answers
18
views
CCXT: Huobi Closing An Open Position
I have created a short position in htx (huobi) and I am now, trying to close it using ccxt using the below code:
short_instance = create_exchange_instance('htx')
short_instance.createOrder('...
0
votes
0
answers
18
views
can a single blockchain transaction have two different addresses belonging to two different persons
can a single blockchain transaction have two different addresses belonging to two different persons?
I am not talking about batch transactions neither about change in case of BTC.
I would like to know ...
0
votes
0
answers
24
views
creating signature for ankr wallet/broadcasttransaction
We are currently developing an application which use ankr services in order to communicate with tron network
now we want to create transaction.
in ankr webservice two steps are required for creating a ...
-1
votes
0
answers
20
views
How can I obtain the timestamp for the spot individual-symbol-book-ticker stream?
I have reviewed the Binance API documentation for Spot individual-symbol-book-ticker-streams, which returns the following JSON:
{
"u": 400900217, // order book updateId
"s":...
-1
votes
0
answers
9
views
AlphaVantage - can you specify the from date for crypto data?
I've started to experiment with the crypto currency end point but do not see an option to specify a from date for the daily historical data. The default history seems to be less than one year (sept 9 ...
1
vote
0
answers
25
views
Solscan token list
I wan to ask how to get info of all custom tokens in Solscan.
I know that i can get list of ALL tokenes:
url = "https://pro-api.solscan.io/v1.0/token/list?sortBy=market_cap&direction=desc&...
-1
votes
0
answers
24
views
Python Web3 Module: AVAX C Chain, insufficient fund error
The above code prints out:
9.906 <- USDT Balance
Final Cost: 0.000175 <- AVAX Cost
Exact Balance: 1.296 AVAX <- Current AVAX Balance ($30)
So, there is indeed AVAX to pay the gas fee and I've ...
0
votes
0
answers
9
views
subgraph using derived loader doesn't work as expected
When using a derived loader I get a confusing error. My basic setup is this:
// SCHEMA
type Pool {
# `Pool-${token0.toHexString()}-${token1.toHexString()}`
id: ID!
stakingPool: StakingPool
}
...
0
votes
1
answer
27
views
Unable to calculate number of bnb in metamask wallet
I am trying to add an option to my webapp where user can add number of coins they want to buy using their bnb.
It connects with metamask and execute the order.
Problem is- value of my 1 coin is 0.0001 ...
-1
votes
0
answers
41
views
How to Dynamically Calculate Token Sell Amount Based on SOL Value in Solana Trading Bot Without Using Fixed Multipliers
I'm working on a Solana trading bot that buys and sells tokens using the Jupiter API. The current implementation uses a fixed multiplier to determine the sell amount of tokens based on SOL. However, I ...
-3
votes
1
answer
46
views
How can I get the balance of a solana account using c#?
Every time I try to get the balance of a solana account by using its public key, it shows me zero. Can anyone help me?
FreyaXYaCwVy86BdNECd7BXnqEvFUbt3p6d2B5eS5zDv - address of the solana account I am ...
1
vote
0
answers
27
views
Binance API: Incorrect Live Price Based on Timeframe Instead of Actual Current Price
I'm building a Discord bot that uses the Binance API to fetch the latest price of a cryptocurrency. However, I'm encountering an issue where the price returned by my bot is inconsistent. Specifically, ...
-1
votes
0
answers
21
views
Nodes, channels and capacity on LN
I have a question regarding Lightning Network on Bitcoin.
I am currently looking into it, but I need to gather some data.
What I would like in a table.
Node, Capacity of the node, number of channels ...
0
votes
0
answers
67
views
Pump.fun Website "Connect Wallet" crypto account creation tool
The website pump.fun https://pump.fun/board has a "connect wallet" tool upper right corner which creates an account and connects a crypto wallet.
curious if anyone can help find out which ...
0
votes
0
answers
17
views
Unable to fetch basechain transcation
I created a wallet using this code :
from eth_account import Account
# Create a new Ethereum wallet
account = Account.create()
private_key = account.key.hex()
address = account.address
print("...
-1
votes
1
answer
45
views
An element exist in web but it turns out to be null when I scrape it. How could I solve it?
I am scraping a dynamic web which applied JS and react function on it (a blockchain explorer). I attempted to build a program which supposed to be able to scrape with JS running. However, it return ...
0
votes
0
answers
58
views
How to get correctly sign Solana transaction using PHP Laravel?
I'm using getblock.io as a node for Solana network and I'm trying to sign a transaction and send it through that node in Laravel, but I'm facing a problem with the serialization of the transaction ...
0
votes
0
answers
100
views
Coinbase Advance Trading API returns "Error: account not available" when placing orders
For the past while I have been trying to get this crypto trading bot to work. The problem is that while I can get/list accounts when I place an order I get a 400 error.
The code:
def place_order(...
0
votes
1
answer
35
views
Extending a curve in pine script
I have done a linear regression on Kaspa (a crypto) and found that it's following a power law .
I calculated the trendline which is a power law in the form of price = a(time)^b
I created a simple ...
0
votes
0
answers
83
views
WalletConnect not updating user balance after payment transaction in React app
I am working on a React application where I use WalletConnect for handling crypto payments. The payment flow involves connecting a wallet, initiating a transaction, and then updating the user balance(...
2
votes
0
answers
47
views
How to Adjust Open Position Size via Binance API Without Closing Position (Using Python)?
I'm currently working on integrating Binance API into our trading bots using Python and need some help with managing open positions. Specifically, I'm looking to understand how to increase or decrease ...
0
votes
0
answers
74
views
How to Prepare a Transaction Object for Sending USDT on Avalanche C-Chain Without Access to Private Key?
I am using a hardware wallet and do not have access to my private key or mnemonic phrase. However, I am able to sign any data without any issues.
I am trying to programmatically prepare a transaction ...
1
vote
1
answer
52
views
Excel, use of function FILTERXML in data obtained from WEBSERVICE function
I use KRAKEN, throw their API ("https://api.kraken.com/0/public/Ticker?pair=BTCEUR) & WEBSERVICE function I can take data by syntax:
Request=WEBSERVICE("https://api.kraken.com/0/public/...
-1
votes
1
answer
136
views
Order failed: 200-{"msg":"Funds increment invalid.","code":"400100"}
I'm using the kucoin api to check what is my USDT balance and purchase its equivalent in Bitcoin using Python 3.12.3
Now if I understand correctly there might be two problems:
the trade can be ...
1
vote
0
answers
155
views
Unable to extract chart data dexscreener
I am trying to get chart data in OHLC format, but this data is not visible in the page source or the network tab.
Here is example url https://dexscreener.com/solana/...
0
votes
0
answers
78
views
Closing Errant Solana Token Accounts
I've mistakenly minted more than one iteration of a token using MetaPlex's createAndMint method by running the program four times. My goal is to close three of the token accounts, returning the SOL ...
1
vote
1
answer
123
views
crypto2 throws status '404 Not Found'
I am getting the following error from the crypto2-package,
# load coins
coins <- crypto2::crypto_list(
only_active = FALSE,
add_untracked = FALSE
)
#> Warning in open.connection(con, "...
0
votes
0
answers
40
views
Smart Contract of Solana based Token
I have created a new token using Tokencreator.io. After that, I created my openbook market id. Before I create a liquidity pool, I would like to know how can I access my smart contract?
I want to ...
0
votes
0
answers
141
views
Be prompted to sign only once to run multiple solana transactions?
I'm building a personal web project on Solana and was wondering if there was a way to have someone who has connected their wallet to the site sign once to run multiple transactions? I'm trying to make ...
0
votes
1
answer
246
views
What does liquidity really mean in uniswap V3?
I'm studyning Uniswyap protocols and I'm having a hard time to understand the concept of concentrated liquidity. I do understand the idea of choosing the price of assets to be the ratio of X and Y on ...
0
votes
0
answers
29
views
navigate to other screen on chrome extension
function App() {
const [isWalletConnected, setIsWalletConnected] = useState(false);
const navigate = useNavigate();
const handleConnectWalletClick = () => {
setIsWalletConnected(false);
...
-1
votes
1
answer
514
views
How to Correctly Place a Stop-Limit Order Using MEXC API
I'm trying to place a stop-limit order on MEXC using their API, but I keep encountering an error. The error message I'm receiving is:
HTTP error occurred: 400 Client Error: Bad Request for url: https:/...
-2
votes
1
answer
74
views
How to make RSIS to move on vumanchu like crypto faces does on his market cipher b which smoothing and inputs do i have to use?
enter image description here
here i got example of someones else indicator the guy who made this copied two rsis i dont know how as you can see in photo purple > blue and white(RSI) i would like to ...
0
votes
0
answers
79
views
ERC20 Token Basescan | value in $ Not Showing
I created an ERC20 token on base, and added 10$ liquidity to it today.
But when I send it to my wallet, metmask,trust wallet, or basescan.org shows 0$ when its actually 1$ / token on dextools.
With ...
2
votes
0
answers
219
views
Backtrader Multiple TP levels sometimes don't work
I have a major bug which makes strange orders on wrong prices. Sometimes even double or a sell order is missing.
How can I get the logic working?
Entry via RSI (no issues)
StopLoss 5%
TakeProfit 25%, ...
1
vote
0
answers
145
views
Pancake swap error while selling token with tax rate ( execution reverted: Pancake: K )
I got stucked at point, where i am selling tokens with tax rate on BSC chain.
I am working on crypto bot, and created it using ether.js and node.js. I am using Pancake swap for swapping tokens on BSC ...
0
votes
0
answers
29
views
How can I replace legacy code URL for Poloniex API when tring to get data from BTC/XMR crypto pair?
So, I'm trying to learn Python and wanted to request some cryptocurrency pair data from Poloniex API by using this code below, and as I understood correctly I referred to the legacy code that isn't ...
0
votes
0
answers
29
views
Is it possible to programmatically buy USDT?
I am hoping to use my bank's API to detect deposits in fiat and then purchase USDT from some service. I haven't been able to find a service that can enable this. Is anyone aware of a way to automate ...
0
votes
0
answers
88
views
Crypto/blockchain: I have tokens for which I want to find the price using dex like raydium
My goal is to get a token price from the dex sdk available/api in the market.
I have used Jupiter price api priorly, however I want to the price to be current and not outdated. Kindly guide or point ...
0
votes
0
answers
96
views
How to intergrate Jupiter terminal dexswap in Wordpress?
This is the terminal, scrolling down gives the codes to put in header and body. It also provides the code snippet.
https://terminal.jup.ag/
So I've put
<script src='https://terminal.jup.ag/main-v2....
0
votes
0
answers
77
views
Unable to send internal message with UTF-8 comment in FunC (TVM exit code 9)
I have wrote simple contract that raffles TONs between participants (wallets that deposited into it).
However, I faced such issue, that while sending internal message from my contract to the winner ...
0
votes
0
answers
177
views
How to create a Solana wallet in Java?
As title says, how do I create a Solana wallet in Java?
Using an example, I have created an RPC Client that checks out a public key's funds which prints out '9198260'
RpcClient client = new RpcClient(...
-1
votes
1
answer
37
views
Receive Token Transfers via Etherscan API
I want to receive all token transfers for a specific token. For example if you are open that url, it will show 85 transfers in your browser: https://etherscan.io/token/...
0
votes
1
answer
31
views
Why the result is not shown?
I'm trying to implement a simple currency conversor. I give a value in bitcoin and then I expect the value in BRL(Brazilian currency). But, anyway, I call useEffect to get me the current rate and then,...
0
votes
0
answers
28
views
how to parse full node binary response in python
I have launched a devnet on my local to play around with the Alephium crypto node. According to the mining docs, it says the response given is:
# The mining pool communicates with the full node ...
3
votes
0
answers
276
views
How to get public key from private key in tact?
I have a smart contract written on tact language for TON blockchain.
I have a method that accepts private key and returns public key based on input:
get fun get_public_key_from_private_key(private_key:...
-3
votes
1
answer
540
views
React component to display crypto price live data
Wondering which React component I can use to display live crypto data fetched from a dex.
I want to be able to filter by price, market cap or percentage.
I see the exactly same component being used on ...
0
votes
0
answers
59
views
is there coinmarketcap api error when we try to fetch data from a date range?
I'm always getting the same Api error even though I try to search for different range of dates.
HTTP 400
/v1/cryptocurrency/listings/historical?start=2024-03-20&end=2024-03-26&CMC_PRO_API_KEY=(...