GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — binance-reporting/configs/config_template.yaml at main · JanAbraham/binance-reporting Expand file tree/ Copy pathconfig_template.yamlMore file actions 148 lines (139 loc) · 5.79 KB / Copy pathconfig_template.yamlFile metadata and controls148 lines (139 loc) · 5.79 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 --- # # sample configuration file for binance-reporting package # you might want to create multiple config files for different purposes # and run the python script with different config files on a different schedule # e.g. downloading balances every hour, but downloading klines only once a day # # # MINIMUM CONFIGURATION # # defining the modules to be run # 'yes' means this module will run, 'no' means it wont # instead of 'no', you can as well remove the line modules: # downloading balances and creating a csv file with the details balances: yes # downloading daily snapshots. one line per day and saved in an csv file daily_account_snapshots: no # history of trades on the provided account(s) trades: no # history of orders on the provided account(s) orders: no # currently open orders open_orders: no # history of deposits on the provided account(s) deposits: no # history of withdrawals on the provided account(s) withdrawals: no # downloading balances and sending a msg to a telegram channel # to use this, a separate section 'telegram' is expected (see below) ticker: no # downloads current prices of all assets traded on the exchange and saves it into a csv prices: no # if klines is 'yes', a separate section 'klines' is expected 'see below' klines: no # provide account details to access binance # the below entries is only an example and need to be changed with your own data accounts: # provide a name for your account <name1>: # the following 4 values are mandatory # name of a sub-directory where the csv files related to this account are saved # it is a sub-directory from where this script is run # in case you run this via scheduler, make sure you change to the right directory dir: <dir-name-1> # type of account: SPOT or FUTURES type: SPOT or FUTURES # PUBLIC/SECRET key combination for accessing the API of the exchange and pulling your information # the actual key needs to be stored as an environment variable on your local machine # the name of the environment variable is given below osvar_api_public: <env variable for PUBLIC key account1> osvar_api_secret: <env variable for SECRET key account1> # following parameters are optional and only needed when activating the ticker module chat_pseudo: <chat-pseudo> # provide any text, which is used to identify the different msg on telegram chat_id: '@<chat-id of your telegram channel>' # following values are for calculating the PnL of your account in the telegram ticker message investment: 0 cash: 0 # portval = overall value of the porfolio; this is used as a basis to calculate the profit portval: 0 profit: 0 <name2>: dir: <dir-name-2> type: SPOT or FUTURES osvar_api_public: <env variable for PUBLIC key account2> osvar_api_secret: <env variable for SECRET key account2> chat_pseudo: <chat-pseudo> chat_id: '@<chat-id of your telegram channel>' investment: 0 cash: 0 portval: 0 profit: 0 # # EXTENTED CONFIGURATION # # in case the module 'kline' is set to 'yes', this section is needed to configure kline downloads klines: # name of directory, in which the klines data should be stored # this is a sub-directory of the location from where the python script has been started dir: klines_data # list of intervals, for which klines should be downloaded # can be multiple entries intervals: ['5m', '1d'] # list of symbols, for which klines should be downloaded # if empty, all the tradingpairs will be taken from the exchange # you can also only provide a text, which needs to be included # in the trading symbol, e.g. 'USDT' would only take those # trading pairs, which have USDT included, e.g. BTCUSDT, ADAUSDT etc # you can as well provide several items, like ['USDT', 'USDC', 'BTC'] symbols: ['USDT'] # in case the module 'ticker' is set to 'yes', this section is needed to configure telegram telegram: # used for pushing notifications to Telegram # make sure the provided token has access to the telegram channel you want to send the message to # the telegram channel needs to be public token: <token> # in case the module 'ticker' is set to 'yes', this section can be used to bundle different accounts # and send a summary of these accounts to a telegram channel # the below entries are only an example and need to be changed with your own data account_groups: # multiple account groups can be defined ALL: # list all the accounts which are part of this group accounts: [<name1>, <name2>] chat_id: '@<chat-id of your telegram channel>' chat_pseudo: all SPOT: accounts: [<name1>] chat_id: '@<chat-id of your telegram channel>' chat_pseudo: spot-all FUT: accounts: [<name2>] chat_id: '@<chat-id of your telegram channel>' chat_pseudo: fut-all HODL: accounts: [<name1>] chat_id: '@<chat-id of your telegram channel>' chat_pseudo: hodl-all logging: # used for writing status messages # activate logging or not: yes/no log_activate: yes # log levels could be: DEBUG, INFO, WARNING, ERROR, CRITICAL log_level: INFO # log target can be set to file or console log_target: console # in case log_target is set to file, this filename will be used # and stored in the folder from where this script is running log_file : binance-reporting.log # in case the module 'daily_account_snapshots' is set to 'yes', this section is needed to configure it daily_account_snapshots: # Binance only saves snapshots only for last 180 days # this can be shortened here to reduce load on API # snapshots older than 180 days are saved in the csv file snapshot_days_max: 180 # amount of snapshot days per request to exchange # max value is 30 (given from Binance) # this can be set to less than 30 in case of connection errors snapshot_days_per_request: 30 |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |