Giter VIP home page Giter VIP logo

Comments (4)

therkut avatar therkut commented on July 22, 2024

image

from binance-trade-bot.

edeng23 avatar edeng23 commented on July 22, 2024

Whoops.
regarding your question, how do you suppose that would work? All trades bounded by a max value? Have just the first trade bounded by that value and make sure no more money goes into the circulation?
Also, what do you mean by "transaction by chat"?

from binance-trade-bot.

therkut avatar therkut commented on July 22, 2024

I wanted to express it as a quantity determination.

and unfortunately I just got an error like the following.
During this time my balance has melted by $ 10.

2021-02-08 00:54:47,121 - crypto_trader_logger - INFO - Done initializing, generating file
2021-02-08 00:55:01,813 - crypto_trader_logger - INFO - Will be jumping from STX to DOGE
2021-02-08 00:55:03,634 - crypto_trader_logger - INFO - Selling 361.6 of STX
2021-02-08 00:55:03,948 - crypto_trader_logger - INFO - Balance is 361.68488
2021-02-08 00:55:04,229 - crypto_trader_logger - INFO - order
2021-02-08 00:55:04,229 - crypto_trader_logger - INFO - {'symbol': 'STXUSDT', 'orderId': 44264220, 'orderListId': -1, 'clientOrderId': 'YabEveMEtULCosVExNYE22', 'transactTime': 1612734903922, 'price': '0.00000000', 'origQty': '361.60000000', 'executedQty': '361.60000000', 'cummulativeQuoteQty': '170.09664000', 'status': 'FILLED', 'timeInForce': 'GTC', 'type': 'MARKET', 'side': 'SELL', 'fills': [{'price': '0.47040000', 'qty': '361.60000000', 'commission': '0.17009664', 'commissionAsset': 'USDT', 'tradeId': 2483402}]}
2021-02-08 00:55:04,229 - crypto_trader_logger - INFO - Waiting for Binance
2021-02-08 00:55:12,551 - crypto_trader_logger - INFO - {'symbol': 'STXUSDT', 'orderId': 44264220, 'orderListId': -1, 'clientOrderId': 'YabEveMEtULCosVExNYE22', 'price': '0.00000000', 'origQty': '361.60000000', 'executedQty': '361.60000000', 'cummulativeQuoteQty': '170.09664000', 'status': 'FILLED', 'timeInForce': 'GTC', 'type': 'MARKET', 'side': 'SELL', 'stopPrice': '0.00000000', 'icebergQty': '0.00000000', 'time': 1612734903922, 'updateTime': 1612734903922, 'isWorking': True, 'origQuoteOrderQty': '0.00000000'}
2021-02-08 00:55:12,866 - crypto_trader_logger - INFO - Sold STX
2021-02-08 00:55:14,865 - crypto_trader_logger - INFO - BUY QTY 2200.0
2021-02-08 00:55:15,462 - crypto_trader_logger - INFO - {'symbol': 'DOGEUSDT', 'orderId': 228076483, 'orderListId': -1, 'clientOrderId': 'UAQhZGjZzvG85l9gs4nRaU', 'transactTime': 1612734915155, 'price': '0.07643510', 'origQty': '2200.00000000', 'executedQty': '2200.00000000', 'cummulativeQuoteQty': '168.15018000', 'status': 'FILLED', 'timeInForce': 'GTC', 'type': 'LIMIT', 'side': 'BUY', 'fills': [{'price': '0.07643190', 'qty': '2200.00000000', 'commission': '2.20000000', 'commissionAsset': 'DOGE', 'tradeId': 32240459}]}
2021-02-08 00:55:18,787 - crypto_trader_logger - INFO - Bought DOGE
2021-02-08 00:55:50,114 - crypto_trader_logger - INFO - Will be jumping from DOGE to CHZ
2021-02-08 00:55:52,017 - crypto_trader_logger - INFO - Selling 2100.0 of DOGE
2021-02-08 00:55:52,321 - crypto_trader_logger - INFO - Balance is 2198.311
2021-02-08 00:55:52,646 - crypto_trader_logger - INFO - order
2021-02-08 00:55:52,646 - crypto_trader_logger - INFO - {'symbol': 'DOGEUSDT', 'orderId': 228080996, 'orderListId': -1, 'clientOrderId': 'iQf7AQhxDxzgPlRCWDsQQ5', 'transactTime': 1612734952326, 'price': '0.00000000', 'origQty': '2100.00000000', 'executedQty': '2100.00000000', 'cummulativeQuoteQty': '160.05801000', 'status': 'FILLED', 'timeInForce': 'GTC', 'type': 'MARKET', 'side': 'SELL', 'fills': [{'price': '0.07621810', 'qty': '2100.00000000', 'commission': '0.16005801', 'commissionAsset': 'USDT', 'tradeId': 32241503}]}
2021-02-08 00:55:52,650 - crypto_trader_logger - INFO - Waiting for Binance
2021-02-08 00:56:00,983 - crypto_trader_logger - INFO - {'symbol': 'DOGEUSDT', 'orderId': 228080996, 'orderListId': -1, 'clientOrderId': 'iQf7AQhxDxzgPlRCWDsQQ5', 'price': '0.00000000', 'origQty': '2100.00000000', 'executedQty': '2100.00000000', 'cummulativeQuoteQty': '160.05801000', 'status': 'FILLED', 'timeInForce': 'GTC', 'type': 'MARKET', 'side': 'SELL', 'stopPrice': '0.00000000', 'icebergQty': '0.00000000', 'time': 1612734952326, 'updateTime': 1612734952326, 'isWorking': True, 'origQuoteOrderQty': '0.00000000'}
2021-02-08 00:56:01,296 - crypto_trader_logger - INFO - Sold DOGE
2021-02-08 00:56:03,525 - crypto_trader_logger - INFO - BUY QTY 7000.0
2021-02-08 00:56:04,153 - crypto_trader_logger - INFO - {'symbol': 'CHZUSDT', 'orderId': 103036662, 'orderListId': -1, 'clientOrderId': 'keYhT2mZgmJZD5wMJGDrNr', 'transactTime': 1612734963838, 'price': '0.02279100', 'origQty': '7000.00000000', 'executedQty': '0.00000000', 'cummulativeQuoteQty': '0.00000000', 'status': 'NEW', 'timeInForce': 'GTC', 'type': 'LIMIT', 'side': 'BUY', 'fills': []}
2021-02-08 00:56:45,882 - crypto_trader_logger - INFO - Bought CHZ
2021-02-08 01:00:26,285 - crypto_trader_logger - INFO - Will be jumping from CHZ to IOTA
2021-02-08 01:00:28,485 - crypto_trader_logger - INFO - Selling 6900.0 of CHZ
2021-02-08 01:00:28,790 - crypto_trader_logger - INFO - Balance is 6993.853
2021-02-08 01:00:29,082 - crypto_trader_logger - INFO - order
2021-02-08 01:00:29,082 - crypto_trader_logger - INFO - {'symbol': 'CHZUSDT', 'orderId': 103038616, 'orderListId': -1, 'clientOrderId': 'dSGZZEtttqyYr4IF4Mkqje', 'transactTime': 1612735228763, 'price': '0.00000000', 'origQty': '6900.00000000', 'executedQty': '6900.00000000', 'cummulativeQuoteQty': '156.99520000', 'status': 'FILLED', 'timeInForce': 'GTC', 'type': 'MARKET', 'side': 'SELL', 'fills': [{'price': '0.02275300', 'qty': '6400.00000000', 'commission': '0.14561920', 'commissionAsset': 'USDT', 'tradeId': 5158054}, {'price': '0.02275200', 'qty': '500.00000000', 'commission': '0.01137600', 'commissionAsset': 'USDT', 'tradeId': 5158055}]}
2021-02-08 01:00:29,083 - crypto_trader_logger - INFO - Waiting for Binance
2021-02-08 01:00:37,883 - crypto_trader_logger - INFO - {'symbol': 'CHZUSDT', 'orderId': 103038616, 'orderListId': -1, 'clientOrderId': 'dSGZZEtttqyYr4IF4Mkqje', 'price': '0.00000000', 'origQty': '6900.00000000', 'executedQty': '6900.00000000', 'cummulativeQuoteQty': '156.99520000', 'status': 'FILLED', 'timeInForce': 'GTC', 'type': 'MARKET', 'side': 'SELL', 'stopPrice': '0.00000000', 'icebergQty': '0.00000000', 'time': 1612735228763, 'updateTime': 1612735228763, 'isWorking': True, 'origQuoteOrderQty': '0.00000000'}
2021-02-08 01:00:38,193 - crypto_trader_logger - INFO - Sold CHZ
2021-02-08 01:00:40,589 - crypto_trader_logger - INFO - BUY QTY 288.1
2021-02-08 01:00:41,547 - crypto_trader_logger - INFO - {'symbol': 'IOTAUSDT', 'orderId': 163408224, 'orderListId': -1, 'clientOrderId': 'jKCFltWAudowIYPycCDddm', 'transactTime': 1612735241228, 'price': '0.55180000', 'origQty': '288.10000000', 'executedQty': '0.00000000', 'cummulativeQuoteQty': '0.00000000', 'status': 'NEW', 'timeInForce': 'GTC', 'type': 'LIMIT', 'side': 'BUY', 'fills': []}
2021-02-08 01:00:51,727 - crypto_trader_logger - INFO - APIError(code=-2013): Order does not exist.
2021-02-08 01:00:53,293 - crypto_trader_logger - INFO - BUY QTY 0.0
2021-02-08 01:00:53,933 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:00:55,587 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:00:57,217 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:00:58,863 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:00,510 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:02,422 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:04,215 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:05,859 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:07,949 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:09,602 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:11,270 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:12,929 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:14,594 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:16,248 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:17,908 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:19,563 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:21,226 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:22,870 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:24,549 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:26,196 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:27,852 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:29,496 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:31,144 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:32,796 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:34,445 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:36,083 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:38,156 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:39,826 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:41,482 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:43,149 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:44,806 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:46,462 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:48,121 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:49,769 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:51,411 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:53,054 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:54,699 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:56,404 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:58,040 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:01:59,695 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:01,365 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:03,025 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:04,982 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:06,646 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:08,363 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:10,012 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:11,702 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:13,813 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:15,456 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:17,145 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:18,788 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:20,423 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:22,082 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:23,747 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:25,413 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:27,077 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:28,778 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:30,431 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:32,081 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:33,724 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:35,368 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:37,081 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:38,716 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:40,357 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:41,990 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:44,063 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:45,706 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:47,352 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:49,016 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:50,698 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:52,357 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:53,996 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:55,646 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:57,580 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:02:59,246 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:00,898 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:02,590 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:04,526 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:06,264 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:07,923 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:09,578 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:11,250 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:13,113 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:14,910 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:16,899 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:18,770 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:20,639 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:22,477 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:24,304 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:26,150 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:27,976 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:29,796 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:31,660 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.
2021-02-08 01:03:33,473 - crypto_trader_logger - INFO - APIError(code=-1013): Invalid quantity.

from binance-trade-bot.

edeng23 avatar edeng23 commented on July 22, 2024

Looks like I fixed the issue, try running now :)

from binance-trade-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.