{"id":21340687,"url":"https://github.com/artainmo/trading_bot","last_synced_at":"2026-05-18T07:35:19.361Z","repository":{"id":93053082,"uuid":"322807598","full_name":"artainmo/trading_bot","owner":"artainmo","description":"Personal project. Different projects around cryptocurrency trading. From a trade tracking system, to a customizable trading-bot and simulator. Also contains notes on cryptocurrency trading algorithms.","archived":false,"fork":false,"pushed_at":"2024-11-25T20:45:10.000Z","size":3207,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T16:42:58.954Z","etag":null,"topics":["c","cryptocurrency","genetic-algorithm","personal-project","python","statistics","study","trading","trading-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artainmo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-19T09:07:02.000Z","updated_at":"2024-12-13T18:52:07.000Z","dependencies_parsed_at":"2024-10-27T21:49:30.178Z","dependency_job_id":"0221fc5f-5d84-47cb-9e2c-a143d57c5754","html_url":"https://github.com/artainmo/trading_bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artainmo/trading_bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Ftrading_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Ftrading_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Ftrading_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Ftrading_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artainmo","download_url":"https://codeload.github.com/artainmo/trading_bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Ftrading_bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33169387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cryptocurrency","genetic-algorithm","personal-project","python","statistics","study","trading","trading-bot"],"created_at":"2024-11-22T00:52:32.273Z","updated_at":"2026-05-18T07:35:19.341Z","avatar_url":"https://github.com/artainmo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trading_bot\n\nDifferent projects around cryptocurrency trading. From a trade tracking system, to a customizable trading-bot and simulator.\u003cbr\u003e\n\nLook inside the appropriate folder to learn more about a specific project.\n\n## Documentation\n### Vocabulary\n#### API\nApplication programmable interfaces, allow connexion between two applications.\u003cbr\u003e\nThe application where the API is from, allows the application using the API access to some of its data.\u003cbr\u003e\nPlus it potentially allows to take actions on that application through the other application.\n\n#### REST API\nRepresentational state transfer is a software architectural style that defines a set of constraints to be used for creating Web services. Web services that conform to the REST architectural style, called RESTful Web services, provide interoperability between computer systems on the Internet.\u003cbr\u003e\nContains HTTP verbs or commands, that we call CRUD (Create, Read, Update, Delete).\u003cbr\u003e\nTons of APIs already exist, that have their own commands based on the CRUD commands.\u003cbr\u003e\nTo connect with rest APIs through the web you need to use HTTP. As you make an HTTP request to the server, the server will return you a BODY containing data in JSON and a HEADER, that contains additional information like an error code.\u003cbr\u003e\nEach API has own specific rules that should be explained in its API documentation.\u003cbr\u003e\nAn API endpoint URL is the place that APIs send requests and where the resource lives, you need to use the CRUD commands to this URL to interact with API.\n\n#### Web\nA computer contains an internet browser. The web browser is a client that is used to connect to a server. You can connect to the server by using an universal resource locator (URL).\u003cbr\u003e\nAn URL starts with http (hypertext transfer protocol), http is like a language that servers can read, here the http makes a request and the server will return a response. The most important part of the response is the body or html, that allows for page rendering.\u003cbr\u003e\nEach time you click on an url you make a http or GET or read request of a specific page to the web server.\u003cbr\u003e\nOften times the server returns his answer or data in JSON (Javascript object notation), this allows to structure the data and is also called the resource.\u003cbr\u003e\nHere is a list of all HTTP verbs: GET, PUT, PATCH, POST, DELETE.\n\n#### Call API\nTo call your API you should always use HTTP. You can use it in different ways, one way is through `curl`.\u003cbr\u003e\nIf you `curl` an URL, you will get as output all the frontend code of that page.\u003cbr\u003e\n`curl -o filename` allowa you to put the output inside a file.\u003cbr\u003e\nTo do an HTTP command: `curl -X httpcommand`.\u003cbr\u003e\nTo use authentication: `curl -u authentifications`. Or if you need to authentificate via a header: `curl -H authentifications`.\n\n#### SDK\nA software development kit is a collection of software development tools in one installable package.\u003cbr\u003e\nThey ease creation of applications by having compiler, debugger and perhaps a software framework.\n\n### Cryptocurrency trading\n#### Do own research\nLook at the reviews on coinmarketcap, if positive its value will probably increase in the long term.\u003cbr\u003e\nYou can also look at the idea behind the coin and judge if it will have a bright future or not.\u003cbr\u003e\nYou can also look at all of the coins historical values on coinmarketcap, on coinbase too.\n\n#### Crytpo market explained\nThe market price of a coin is driven by supply and demand.\u003cbr\u003e\nDriven by availability, the scarcer a cryptocurrency, the higher its price levels.\u003cbr\u003e\nYou can look at a particular coin's maximum supply.\u003cbr\u003e\nBest is to buy when marketprice is low.\n\n#### Trends\nLong-term trends that contain highs and lows where you can buy and sell, make small trades while the trend continues:\n* upward trends (increasing average)\n* downward trends (decreasing average)\n* consolidation trends (same average)\n-\u003e 200day ema can be useful for long-term investments\n\n#### Order book\nIn order book you can see total amounts of buying orders and selling orders, if more buying than selling orders, upward trend. This can change every second and give the most false signals.\u003cbr\u003e\nIn order book you can see all prices and next to it total amount of coins to be sold or bought at that price.\u003cbr\u003e\nOrder book should not really be taken into account for trading bot.\n\n#### Profitable trading strategies\nAlways have an exit strategy in mind.\n\n##### 100$ RISK\nHigh risk - high reward\u003cbr\u003e\nInvest in new coins, that thus have a very low market price, during ICO (initial coin offering, similar to IPO in stocks).\u003cbr\u003e\nThis coin could explode or fall, in worst case scenario you could lose 100$ and in best case scenario you could make an infinite gain.\n\n##### Own multiple standard coins\nYou can use them to buy altcoins, if the standard coins are going low, you can use them to buy upgoing altcoins before they actually are low.\n\n##### Allocate wisely\nUse 50% funds into standard coins and 50% funds into altcoins for example.\u003cbr\u003e\nAlways keep some standard coins (tether, btc, eth) so you can use them to buy altcoins when they go low.\u003cbr\u003e\nUse 10% funds for high-risk/high-reward investments.\n\n#### Support and resistance\nOr floors and ceilings, they are price areas that tend to act like barriers.\u003cbr\u003e\nHere we rely on what happened in the past with technical analysis.\u003cbr\u003e\nSupport or floors, is where buying was interesting previously and resistance is where selling was interesting previously.\u003cbr\u003e\nYou can look at weekly or even all graphs to find floor and ceilings, to look at potentially interesting long-term or short-term investments.\n\n##### Levels\nDifferent levels exist that all have their own floor and ceilings.\u003cbr\u003e\nThey can be seen as consolidation trends that all have a floor and ceiling.\u003cbr\u003e\nFirst see in what level you are, then look if you are at floor or ceiling of this level.\u003cbr\u003e\n--\u003e level size in % based on highest value: example min-floor:115 max-ceiling:140 -\u003e 25/140 * 100  * 2(becuase 50% is considered 100% or 25%)| 0 - 25%\u003cbr\u003e\n--\u003e position inside level | max-ceiling - mim-floor | 0 - 25%\n\nFind levels\u003cbr\u003e\n--\u003e Use the 26day ema, As long as 0,0012745% or less change/hour, you are inside the level where you can search for floor and ceiling, look only at last time you were in this level, the level should have a 24h range.\n\n#### Continuous and reversal patterns\nAre patterns that you can recognize from the beginning, knowing that the chance is high\nof them continuing a certain way. If you know how they will evolve you can invest accordingly.\n\nWith image recognition, patterns could be found. Learn more about patterns in udemy course.\n\n##### Dead cat bounce\nOnce a price strongly decreases in a short amount of time, you know it will bounce back up right after.\u003cbr\u003e\nIf you recognize that you can quickly buy at the bottom and sell high at the bounce.\u003cbr\u003e\n--\u003e descends more than 3% in 15min or 5% in 1h --\u003e if technical analysis calls for a raise that will start buy\u003cbr\u003e\n--\u003e skip levels if activated --\u003e Do not buy as long as 1min ema crossover is not activated and to sell profit is not equal to al least 1%\u003cbr\u003e\n--\u003e Once dead cat bounce found, use the 1min crossover strategy to buy and to sell\n\n##### Head \u0026 shoulders\n3 peaks, with the middle one being the highest, the last peak will be followed\nby a strong descend.\u003cbr\u003e\nInverse head \u0026 shoulders, 3 falls, with the middle one the lowest, the last descend\nwill be followed by a strong raise.\u003cbr\u003e\nThe difference between between the highest and lowest point in the head (pipe), is often equal\nto how much the price will descend or raise afterwards.\n\nOnce you recognize the third shoulder being as high as the first shoulder and starting to descend,\nyou should sell.\u003cbr\u003e\nIf price has descended as much or lower than pipe and is raising again you should buy.\u003cbr\u003e\nOnce you recognize the third shoulder being as low as the first shoulder and starting to raise,\nyou should buy.\u003cbr\u003e\nIf price has raised as much or more than pipe and is lowering again you should buy.\u003cbr\u003e\n--\u003e If EMA is correct, you can avoid small bumps, and buy/sell correctly in combination with the dead cat bounce.\n\n##### Double tops \u0026 bottoms\nDouble tops:\u003cbr\u003e\nIf price raises one time to a ceiling, goes back down at least more than half of how much it raised initially, and goes back up to that same ceiling before going back down, to right under the floor it started out with. Now you know that the price will continue to go down until it hits a low, all of this in a relatively low timeframe.\n\nDouble lows:\u003cbr\u003e\nIf price lowers one time to a floor, goes back up at least more than half of how much it lowerd initially, and goes back down to that same floor before going back up, to right above the ceiling it started out with. Now you know that the price will continue to go up until it hits a high, all of this in a relatively low timeframe.\n\n##### Rounding bottoms \u0026 tops\nNot one peak but one half circle, thus meaning slow activity.\u003cbr\u003e\nThe half circle should start and finish at same price.\n\nIf rounding top, the half circle will be followed by a price descend that should be as long as the round pipe (difference between lowest and highest point in the half circle).\u003cbr\u003e\n--\u003e Sell at rounding top.\u003cbr\u003e\n--\u003e Buy after steep price decrease.\n\nIf rounding bottom, the half circle will be followed by a price increase that should be as long as the round pipe.\u003cbr\u003e\n--\u003e Buy at rounding bottom.\u003cbr\u003e\n--\u003e Sell at following price increase.\n\n##### Cup \u0026 handle\nHere we do not talk about a half circle or peaks, but something in between those, followed by a small cup, that will be followed by a steep increase in price for cup.\u003cbr\u003e\n--\u003e Thus you should buy in lowest point of second cup.\n\n##### Wedges \u0026 triangles\nPrice compressing triangle:\u003cbr\u003e\nPeaks that start to have lower and lower ceilings and floors, once you hit 80% of the triangle it should break, it will break by descending as much as the height of the first peak.\n\nDescending triangle:\u003cbr\u003e\nPeaks that start to have higher and higher floors, while the ceiling stays the same, once you hit 80% of the triangle it should break, it will break by raising as much as the height of the first peak.\n\nRising wedges:\u003cbr\u003e\nCeiling price increasing more and more while floor price increasing more and more, once you hit 80% of the triangle it should break, it will break by descending until the initial starting point of the first peak.\n\nDescending wedge:\u003cbr\u003e\nCeiling price descending more and more while floor price descending more and more, once you hit 80% of the triangle it should break, it will break by raising until the initial peak.\n\n##### Flags \u0026 pennants\nSteep increase followed by consolidation trend (up \u0026 down peaks, staying the same) will be followed by the same steep increase again once consolidation stops.\u003cbr\u003e\nSteep decrease followed by consolidation trend (up \u0026 down peaks, staying the same) will be followed by the same steep decrease again once consolidation stops.\n\n#### Candle sticks\nA candlestick can be green (market increase) or red (market falling) plus it contains a body and a wick or even two wicks (one above and under body).\u003cbr\u003e\nCandlesticks are useful when trading as they show four price points (open, close, high, and low) throughout the period of time the trader specifies.\u003cbr\u003e\nTop body is opening/starting price, lowest body is closing/final price.\u003cbr\u003e\nTop wick is highest price and lowest wick is lowest price.\n\n#### Risk management\nAlways put sell order at price 5-10% below long term floor level to avoid losing too much if market cap keeps descending under the floor level.\u003cbr\u003e\nIf price 3% under the resistance level activate warning, sell once price descends 1% and warning is active. This will allow to maybe profit from a price that keeps raising above the resistance price.\n\n#### exponential moving averages(EMA) - technical analysis\nGives coin market price overtime upwards or downwards trends.\u003cbr\u003e\nSimple moving average is similar, only difference is that SMA looks more at long term.\u003cbr\u003e\nThe EMA puts more weight on the recent data.\u003cbr\u003e\nCalculate sma: the sum of the stock's closing prices for the number of time periods in question, divided by that same number of periods.\u003cbr\u003e\nTo calculate ema, recent days have more weight.\u003cbr\u003e\n--\u003e Very useful when in a down or upward market.\u003cbr\u003e\nEMAs with more days tend to look at long-term and won't signal for smaller bumps.\u003cbr\u003e\n50 day ema is a good long-term indicator for example.\u003cbr\u003e\n-\u003e If ema is above actual curve, sign market will lower.\u003cbr\u003e\n-\u003e If ema is lower than actual curve, sign market will increase.\n\n##### EMA crossover strategy\nTake 20day and 9day EMA or period not day, which means a certain period devided by 9 or 20.\u003cbr\u003e\nIf 9day ema crosses over 20day ema + both emas have upward trend -\u003e Time to buy\u003cbr\u003e\nIf 9day ema crosses under 20day ema + both emas have downward trend -\u003e Time to sell\u003cbr\u003e\nFor daytrading you can even use 1h and 15min emas\u003cbr\u003e\nMost accurate for creating buying/selling signals\u003cbr\u003e\n-\u003e moving upward 12ema(5%) + 26ema(5%)\u003cbr\u003e\n-\u003e 12day ema over 26day ema (15%)\u003cbr\u003e\n--\u003e the number 12 or 26 indicate the number of ema periods, one ema period can be a minute, hour, day, ....\n\n#### Parabolic SAR\nAble to find sudden changes in market price directions, good for daytrading.\u003cbr\u003e\nIn graphs, comes as series of dots either above or under current price.\u003cbr\u003e\nIf under price -\u003e Uptrend -\u003e buy\u003cbr\u003e\nIf above price -\u003e Downtrend -\u003e sell\u003cbr\u003e\nUse it for daytrading or in combination with other techniques signals, because it can trigger alot of signals even when not necessary.\u003cbr\u003e\n--\u003e Understand this better to combine it with emas as strategy.\n\n#### MACD indicator\nMoving average convergence divergence, is a trend-following indicator that shows the relationship between two exponential moving averages.\u003cbr\u003e\nThe MACD line is calculated through substracting the ema26 from the ema12.\u003cbr\u003e\nThe signal line is equal to a 9ema of the macd line.\n\nUptrend signal: MACD line crosses above signal line | Both lines slope upwards\u003cbr\u003e\n-\u003e extra indicator strong upward MACD is above the zero line or simply a positive number\n\nDowntrend signal: MACD line crosses below signal line | Both lines slope downwards\u003cbr\u003e\nIf downtrend you need to sell, it means price will soon come down.\n\nMACD can show a lot of false buy and sell signals, it should only be used to warn you about a potential market direction change, EMA crossover should be used to confirm the next market direction.\u003cbr\u003e\nIf you want to create a maker and not taker trade (for lower fees), you need to predict if the price is going to increase, you can use the MACD as a second confirmation next to EMA for the price that will keep raising.\u003cbr\u003e\n--\u003e MACD is not the best signal indicator. You can ignore it completely and focus instead on 20 - 9cross emas\n\n#### Relative strenght index\nRSI = 100 - 100/(1-RSI)\u003cbr\u003e\nRSI is the average gain of n periods minus the average loss of n periods.\u003cbr\u003e\nRSI provides, sell(\u003e80%) or buy(\u003c20%), signals when stock is oversold or overbought.\u003cbr\u003e\n--\u003e Can give false signals, should be used with caution or maybe in combination with ema crossovers\u003cbr\u003e\n--\u003e Can be used as extra confirmation of buying/selling if playing with probabilities.\n\n#### Buy or sell conclusion\nMake orders instead of take orders can be used to save on fees once you make 50k+ investments.\u003cbr\u003e\nFOR EACH COIN FIND IF A DEAL (90% - 125%)\u003cbr\u003e\ncompare current price with max price last year of coin with high - low | 0 - 25%\u003cbr\u003e\nCheck for any patterns | for buy pattern 0 - 25%:\u003cbr\u003e\n*Cat bounce --\u003e 1min ema crossover (45%)\u003cbr\u003e\n*check where inside the level, floor - ceiling | -\u003e 1h ema crossover(25%), 15min ema crossover(20%)\u003cbr\u003e\n*free / no pattern found = 12.5% -\u003e 1h ema crossover(25%), 15min ema crossover(20%)\u003cbr\u003e\n--\u003e Buy pattern is equal to resulting % and sell pattern is equal to 50 - resulting %\u003cbr\u003e\nAfter always check if technical analysis gives a flag -\u003e parabolic SAR(15%) + emas crossover(45%) + RSI(15%)\u003cbr\u003e\n--\u003e Check technical analysis separately for buy or sell\u003cbr\u003e\nAFTER COMPARE WHAT COIN HAS BEST DEAL BY CREATING A POINT SYSTEM IN %\u003cbr\u003e\ntry also to diversify, thus do not invest everything in one deal\u003cbr\u003e\nIf multiple above 90% take highest and divide to-buy-price between highest and those that are in 10% under range of highest.\u003cbr\u003e\n\nSell protection rule, sell if 1% under bought price.\u003cbr\u003e\nEach time a deal is bought print sreen in, coins class have a dictionary that contains reason of buy or sell.\n\n##### algorithm\nTake crypto history of all cryptos wanting to be traded -\u003e BTC, ETH, EOS, XRP, LTC\u003cbr\u003e\nEnter loop with 5s delays\u003cbr\u003e\nCapture all cryptos prices and add those to price history with specific trading time\u003cbr\u003e\nCheck if any good deal for Selling\u003cbr\u003e\nCheck if any good deal for Buying\u003cbr\u003e\nLoop again\u003cbr\u003e\n\nLatest algo:\u003cbr\u003e\nComplicated algorithm isn't necessarily better and increases chances of mistakes, for now this simpler algorithm will be used.\u003cbr\u003e\n- RSI is a buy and sell signal.\u003cbr\u003e\n- 1h + 15min ema12-26 crossover is buy and sell signal.\u003cbr\u003e\n- cat_bounce  + 1min 12-26ema crossover is signal to buy and has specific sell signal, 1min ema12-26 crossover.\u003cbr\u003e\n\nLatest algo:\u003cbr\u003e\nComplicated algorithm isn't necessarily better and increases chances of mistakes, for now this simpler algorithm will be used.\u003cbr\u003e\n- 1h + 15min ema12-26 crossover is buy and sell signal.\u003cbr\u003e\n- For even more security but potential opportunity losses, you could add a second condition looking at the 1day emas, to see if you are in an up or down trend market more in longer term.\n\n#### FINAL GOAL\nWhen investing more than 50k, maker fees become interesting and you can set limit orders in place, small time after signal has been set to continuum price.\u003cbr\u003e\nIMPLEMENT AI\u003cbr\u003e\n--\u003e give AI ema-crossovers (day, 15min, 1h, 1min), sar and sri data too next to the general data, try to maximize the data you get.\u003cbr\u003e\n--\u003e Use image recognition on the market graphs so that the AI can recognize trends.\u003cbr\u003e\n--\u003e To improve AI even more, web scraping bot could search for news articles and particular keywords in articles as world events in the news can impact trading markets.\n\nHowever, more and more trading bots are coming to the market. If they all follow the same algorithm, no one will win. Only the best will win who can adapt to the behavior of other trading bots. This may be an impossible race to win without more investment.\n\n--\u003e Too much competition, instead participate in numerai. To learn more about this infested industry look at high frequency trading.\n\n#### Other\nCoinbase is used to look at the different cryptocurrencies with clear graphs.\u003cbr\u003e\nCoinbase pro is used to do the actual trading.\u003cbr\u003e\nDelta is used to get custom notifications for all cryptocurrencies when they reach a certain price.\n\n##### Two techniques are used\nThose two techniques can be used together, initial buy with long term intent and in the meanwhile do medium-term trading.\n\nLONGTERM\u003cbr\u003e\nBuy when in bear market, very low and sell when in bull market.\n\nMEDIUMTERM\u003cbr\u003e\nLook at common ups and down of the moment, sell when high and you know it will lower afterward. If it lowers until a certain amount buy back at that lower amount, otherwise buy back at same price.\u003cbr\u003e\nUse limit orders to do things in advance. Each night put buying limit as the lowest of prior 24h and selling limit as highest of prior 24hours.\n\n##### General Advice\nNever be emotional about trading.\u003cbr\u003e\nDon’t follow others' advice look at facts yourself.\n\n##### Coinbase Pro trading\nLower fees than with coinbase.\n\nYou can invest in two different ways, either as a taker or as a maker.\u003cbr\u003e\nMakers pay between 0.04-0.5%fees.\u003cbr\u003e\nTakers pay between 0-0.5%fees.\u003cbr\u003e\nTo pay less in fees with taker invest you should invest at least 50k.\n\nYou are a taker when your order gets filled immediately.\n\nYou are a maker when your order is not immediately matched but put into an order book, waiting for another customer to match your order. You can use this method, which is favorable due to less fees, when you are waiting in advance for a certain price point and know for sure you want to buy at that price point.\n\nThree types of orders:\u003cbr\u003e\nMarket order - general order that gets filled immediately\u003cbr\u003e\nStop order - Choose price (stop price) at which order (limit price) should be executed\u003cbr\u003e\nLimit order - Choose price at which order should be executed with additional settings\u003cbr\u003e\n\nLimit order settings\u003cbr\u003e\nPost only - allow taker\u003cbr\u003e\nIf to-be-filled order already exists, and your order will be filled immediately, thus you will pay taker fees. Post only protects against that while allow taker not.\u003cbr\u003e\n\nWhen selecting a limit order, expand the Advanced section to reveal the following Time in Force policies:\u003cbr\u003e\nGood 'Til Canceled (GTC) - This order will be placed on the order book and remain valid until you cancel it.\u003cbr\u003e\nGood Til Tine (GTT) - This order will be placed on the order book and remain valid until you cancel it or the timing you indicated ended.\u003cbr\u003e\nImmediate or Cancel (IOC) - This order will be placed and if it is not immediately filled, it will automatically be cancelled and removed from the order book.\u003cbr\u003e\nFill or Kill (FOC) - This order will only complete if the entire amount can be matched. Partial matches are not filled with this order type and will not execute\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartainmo%2Ftrading_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartainmo%2Ftrading_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartainmo%2Ftrading_bot/lists"}