-
Notifications
You must be signed in to change notification settings - Fork 2k
Order type: allow consumer to specify type of order to use #233
Order type: allow consumer to specify type of order to use #233
Conversation
Could have updated conf-sample.js with c.order_type default value as well |
@EigilB good point, updated. |
According with gdax website the maximum taker fee is 0.25% and not 0.3% |
@vitorego there is no support for multiple fees at this time, so I took the maximum. (ETH and LTC are at 0.3%) |
Ok. By the way, the simulation will include the fees on profit calculation? |
@vitorego it should, yep. It uses sim results:
The lower end balance is to be expected, since fees are much higher. |
@DeviaVir I got very profitable simulations using short periods and low ema, however in live trading the outcome is not same, even is not profitable at all. I guess with maker type orders the live trading will become profitable on short periods an low ema. |
@vitorego makes sense, in live trading and limit orders you have to deal with slippage and filling delays. With maker orders the sim will be more close to reality, but it will not be profitable on short periods and low ema (as that results in more trades, more trades results in more fees), I would actually suggest higher periods and higher EMA. |
Maybe it's possible to take dynamic user fees from exchange, like Bitfinex - api.bitfinex.com/v1/account_infos? |
Currently running this in a live test, if it does what it's supposed to do I'll merge (unless anyone else has any objects, of course). |
I know this pull request was already merged. But I got this idea of having a auto mode on the other type. The boy will start with taker orders (no fee) if the slippage goes over a configured value the bot will close the order using the maker type order. What do you think? |
* Add files via upload * Delete bitfinex-master.zip * Create package.json * final version * Bitfinex API credentials * Bitfinex deps * // fix * add takerFee Support ref DeviaVir#233. Did not test after update as master is not update to DeviaVir#233 * move to /
Fixes #220
Allow a consumer to pass
--order_type
totrade
andsim
, it specifies how to make orders. See the updatedREADME.md
for more info.