vleroybrown
|
|
September 01, 2014, 01:20:45 PM |
|
Is this the program bases for the andriod app that places coinbase trades?
|
|
|
|
|
|
|
|
|
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 01, 2014, 03:24:33 PM |
|
Is this the program bases for the andriod app that places coinbase trades?
What do you mean?
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 01, 2014, 08:32:11 PM |
|
v1.07.99 Bugfix 7 released. Fixed rules critical bugs. Added custom events and indicators. Manual how to make custom indicators and events is here: http://forum.centrabit.com/viewtopic.php?f=3&t=4161
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
Askit2
|
|
September 01, 2014, 09:54:13 PM |
|
I have some additional scripts to start or stop. I think I have worked out where to put them. I need a slight delay between each start and stop. Would the following work assuming the scripts are named correctly? trader.timer(0.2,"1% Down");
or
trader.timer(0.2); trader.groupStart("1% Down");
The trader.timer I am unsure if I can skip the function call. I could always create a blank function. I think neither will work.
|
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 01, 2014, 09:57:09 PM |
|
I have some additional scripts to start or stop. I think I have worked out where to put them. I need a slight delay between each start and stop. Would the following work assuming the scripts are named correctly? trader.timer(0.2,"1% Down");
or
trader.timer(0.2); trader.groupStart("1% Down");
The trader.timer I am unsure if I can skip the function call. I could always create a blank function. I think neither will work. trader.delay(0.2,"trader.groupStart('1% Down')"); will works for you, 0.2 is 200 ms
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
Askit2
|
|
September 01, 2014, 09:58:26 PM |
|
Thank You!
|
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 01, 2014, 10:24:46 PM |
|
I could always create a blank function.
You can create blank functions and it is not required to make delays for enabling/disabling groups any more (if it not required by your strategy). It is stable now and groups loop will not cause crash or high cpu load.
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
Askit2
|
|
September 01, 2014, 11:56:43 PM |
|
my NMC trading logic sold just now There seems to be a problem with the amounts for buys placed. Code for the logic: var executed=false; function executeRule() { executed=true; if(trader.get("ApiLag")>10) { trader.log("Api lag is to high"); trader.delay(1,"executeRule()"); return; }
var amount = 1.0;
var price = trader.get("NMCBTC" , "LastPrice"); price += 0.00000001;
trader.buy("NMCBTC" , amount , price); trader.groupDone(); }
var baseVariable = calcBaseVariable(); function calcBaseVariable() { baseVariable = trader.get("NMCBTC" , "LastMySellPrice"); baseVariable += 1.0; return baseVariable; }
trader.on("LastPrice").changed() { if(executed)return; if(symbol != "NMCBTC")return; calcBaseVariable(); if(value < baseVariable) executeRule(); }
The result was no sell and as sequential it won't re-enable itself 5:43:20PM> Start group: "NMC Range" 5:43:20PM> NMCBTC: Buy 1 at 0.00212001 5:43:20PM> NMCBTC: Buy 1 at 0.00212001
I am not sure why it would execute twice. This could be a hold over from the first versions with the new ruleset.
|
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 02, 2014, 12:55:51 AM |
|
The result was no sell and as sequential it won't re-enable itself 5:43:20PM> Start group: "NMC Range" 5:43:20PM> NMCBTC: Buy 1 at 0.00212001 5:43:20PM> NMCBTC: Buy 1 at 0.00212001
I am not sure why it would execute twice. This could be a hold over from the first versions with the new ruleset. Please zip and email me this folder %localappdata%\QtBitcoinTrader\Scripts\ I'll look on your rules. PS: bug with requirement of 0.00000001 is fixed so you can set 0 there.
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 02, 2014, 09:36:18 PM |
|
Bugfix 8 released. Fixed bugs that Askit2 reported. And some more bugs fixed. I'll record some video tutorials, here is the first one: https://www.youtube.com/watch?v=7hliVz6Gr9Q
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
worldcup
Newbie
Offline
Activity: 38
Merit: 0
|
|
September 03, 2014, 03:53:37 AM |
|
Your password must be at least 8 characters and contain letters, digits, and special characters.
a little bit complicated, password is too long, i always forget that god damn number!
|
|
|
|
worldcup
Newbie
Offline
Activity: 38
Merit: 0
|
|
September 03, 2014, 04:04:54 AM |
|
you should look into adding MSC (mastercoin) i think there is some code on github already which you can leverage (but still in development & testing phases) http://mastercoin-explorer.com/order_booksif you have questions about how it works feel free to ask, but I have a feeling that it will prove to be very useful for users of this trader in 2014 may i ask how price goes now?
|
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 03, 2014, 10:41:39 AM Last edit: September 04, 2014, 01:06:52 AM by IGHOR |
|
Your password must be at least 8 characters and contain letters, digits, and special characters.
a little bit complicated, password is too long, i always forget that god damn number! This was changed, you can create simple password now. Now requirement is not 8 digits, but big time to crack password. For security reason you should create strong password.
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
mojBitcoin.si
Newbie
Offline
Activity: 14
Merit: 0
|
|
September 04, 2014, 08:04:45 AM |
|
Hi IGHOR! Again: Thank you for all your efforts. I'm trying to get values for AsksPrice and AsksVolume, but they return 0. It is the same for the BidsPrice and BidsVolume. function checkOrderbook() {
var lastPrice = trader.get("LastPrice"); var asksPrice = trader.get("AsksPrice",500); var asksVolume = trader.get("AsksVolume", 500); // at lastPrice 476
trader.log("lastPrice: ", lastPrice); // returns 476 trader.log("asksPrice: ", asksPrice); // returns 0 trader.log("asksVolume: ", asksVolume); // returns 0
}
My orderbook is set to 1000 rows so the requested orders are visible. some thoughts, nice to have: - trader.get("10MinBuyDivSell") changed to trader.get("BuyToSell", minutes) so we can define timeframe we are interested in. Same for 10MinVolume. - trader.get("NoOfTrades", minutes) - number of transactions in last x minutes. - a way to access LastTrades: trader.get("LastTrades", minutes) - to retrieve all trades in last X minutes. - a way to access orderbook: trader.get("Orderbook", fromPrice, toPrice) - to retrieve all orders from orderbook between specified price range. - buy and sell commands should return ID, so we can later check / cancel specific order That's all for now i think, i'll play around some more. thnx, Tomi
|
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 04, 2014, 10:05:38 AM Last edit: September 05, 2014, 01:31:05 AM by IGHOR |
|
Hi IGHOR! Again: Thank you for all your efforts. I'm trying to get values for AsksPrice and AsksVolume, but they return 0. It is the same for the BidsPrice and BidsVolume. function checkOrderbook() {
var lastPrice = trader.get("LastPrice"); var asksPrice = trader.get("AsksPrice",500); var asksVolume = trader.get("AsksVolume", 500); // at lastPrice 476
trader.log("lastPrice: ", lastPrice); // returns 476 trader.log("asksPrice: ", asksPrice); // returns 0 trader.log("asksVolume: ", asksVolume); // returns 0
}
My orderbook is set to 1000 rows so the requested orders are visible. some thoughts, nice to have: - trader.get("10MinBuyDivSell") changed to trader.get("BuyToSell", minutes) so we can define timeframe we are interested in. Same for 10MinVolume. - trader.get("NoOfTrades", minutes) - number of transactions in last x minutes. - a way to access LastTrades: trader.get("LastTrades", minutes) - to retrieve all trades in last X minutes. - a way to access orderbook: trader.get("Orderbook", fromPrice, toPrice) - to retrieve all orders from orderbook between specified price range. - buy and sell commands should return ID, so we can later check / cancel specific order That's all for now i think, i'll play around some more. thnx, Tomi Thanks for suggestions and bug report. I'll fix it soon.
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
mojBitcoin.si
Newbie
Offline
Activity: 14
Merit: 0
|
|
September 04, 2014, 11:13:55 AM |
|
Hi IGHOR! Again: Thank you for all your efforts. I'm trying to get values for AsksPrice and AsksVolume, but they return 0. It is the same for the BidsPrice and BidsVolume. function checkOrderbook() {
var lastPrice = trader.get("LastPrice"); var asksPrice = trader.get("AsksPrice",500); var asksVolume = trader.get("AsksVolume", 500); // at lastPrice 476
trader.log("lastPrice: ", lastPrice); // returns 476 trader.log("asksPrice: ", asksPrice); // returns 0 trader.log("asksVolume: ", asksVolume); // returns 0
}
My orderbook is set to 1000 rows so the requested orders are visible. some thoughts, nice to have: - trader.get("10MinBuyDivSell") changed to trader.get("BuyToSell", minutes) so we can define timeframe we are interested in. Same for 10MinVolume. - trader.get("NoOfTrades", minutes) - number of transactions in last x minutes. - a way to access LastTrades: trader.get("LastTrades", minutes) - to retrieve all trades in last X minutes. - a way to access orderbook: trader.get("Orderbook", fromPrice, toPrice) - to retrieve all orders from orderbook between specified price range. - buy and sell commands should return ID, so we can later check / cancel specific order That's all for now i think, i'll play around some more. thnx, Tomi Thanks for suggestions and bug report. Check private build with fixes: https://dl.dropboxusercontent.com/u/860231/QtBitcoinTrader.exeThnx for quick reply. Unfortunately I'm on mac. I can wait, no problem. If you need quick feedback, I can setup pc and try. Tomi
|
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 05, 2014, 01:44:36 AM |
|
some thoughts, nice to have: - trader.get("10MinBuyDivSell") changed to trader.get("BuyToSell", minutes) so we can define timeframe we are interested in. Same for 10MinVolume. - trader.get("NoOfTrades", minutes) - number of transactions in last x minutes. - a way to access LastTrades: trader.get("LastTrades", minutes) - to retrieve all trades in last X minutes. - a way to access orderbook: trader.get("Orderbook", fromPrice, toPrice) - to retrieve all orders from orderbook between specified price range. - buy and sell commands should return ID, so we can later check / cancel specific order
Currently there is limitation to 10 minutes and later I'll add intervals. Give me examples how you want to use retrieved orders using JavaScript. >buy and sell commands should return ID I planned to make virtual IDs, so it will be returned instantly.
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 05, 2014, 01:56:54 AM |
|
v1.07.99 Bugfix9 released. Fixed UTF8 bug. Fixed JL Script bugs. Fixed exchange engine bug. Bitfinex works again. Added new events: trader.on("MyLastTrade").changed() // Your account order filled
trader.on("LastTrade").changed() // Any market order filled
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
mojBitcoin.si
Newbie
Offline
Activity: 14
Merit: 0
|
|
September 05, 2014, 10:36:25 AM |
|
some thoughts, nice to have: - trader.get("10MinBuyDivSell") changed to trader.get("BuyToSell", minutes) so we can define timeframe we are interested in. Same for 10MinVolume. - trader.get("NoOfTrades", minutes) - number of transactions in last x minutes. - a way to access LastTrades: trader.get("LastTrades", minutes) - to retrieve all trades in last X minutes. - a way to access orderbook: trader.get("Orderbook", fromPrice, toPrice) - to retrieve all orders from orderbook between specified price range. - buy and sell commands should return ID, so we can later check / cancel specific order
Currently there is limitation to 10 minutes and later I'll add intervals. Give me examples how you want to use retrieved orders using JavaScript. >buy and sell commands should return ID I planned to make virtual IDs, so it will be returned instantly. With new build on mac, AsksVolume and AsksPrice still return 0 Something like that: var spikeOrder; var lastPrice = trader.get("LastPrice"); var asksPrice = trader.get("AsksPrice",100); // get the price 100 coins away
if (asksPrice - lastPrice > 10) { // if price diff is worth a trade var orders = trader.get("Orderbook", asksPrice-1, asksPrice+1); // get the orders around target price for (i = 0; i < orders.length; i++) { if (orders[i].volume > 10) { // check for big orders asksPrice = orders[i].price - 0.01; // set target price in front of big order break; } } if (spikeOrder) { // remove previous order trader.cancelOrder(spikeOrder); } spikeOrder = trader.sell(1, asksPrice); // place order }
or var orders = trader.get("Orderbook", lastPrice, lastPrice+30); // get ask orders for (i = 0; i < orders.length; i++) { if (orders[i].volume > 50) { // check for walls trader.say("Ask wall " + orders[i].volume + " at " + orders[i].price); } }
|
|
|
|
IGHOR (OP)
Legendary
Offline
Activity: 1035
Merit: 1065
|
|
September 05, 2014, 10:52:38 AM |
|
With new build on mac, AsksVolume and AsksPrice still return 0
Works for me. Check for updates again.
|
Qt Bitcoin TraderVerify digital signature of the app in the file properties every time you download it.
|
|
|
|